Skip to content

Commit

Permalink
Add manual GitHub workflow run (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancasco authored Dec 24, 2024
1 parent 2c229c3 commit daaa71a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,19 @@ The variables should look like the image below:

![GitHub Action Variables](./docs/github_actions_variables.png)

After the GitHub Actions deployment is successful, navigate to [IAM Identity Center](https://console.aws.amazon.com/singlesignon/home) in the AWS Console and `Enable` IAM Identity Center. On the next screen, click `Go to settings`.
Next we will run the deployment from Github Actions. If it's the first time you're accesing the Actions tab from a fork, you might need to enable the Actions feature for your fork.

Copy the value of the `Instance ARN` (it will look like `arn:aws:sso:::instance/ssoins-XXXXXX`) to your clipboard.
![GitHub Actions Enable Actions](./docs/github_actions_enable_actions.png)

Now, you can trigger the GitHub Actions workflow by clicking the `Run workflow` button in the GitHub Actions UI.

![GitHub Actions Run Workflow](./docs/github_actions_run_workflow.png)

After the GitHub Actions deployment is successful, navigate to [IAM Identity Center](https://console.aws.amazon.com/singlesignon/home) in the AWS Console and `Enable` IAM Identity Center.

![IAM Identity Center Enable](./docs/aws_iam_identity_center_enable.png)

On the next screen, click `Go to settings`. Copy the value of the `Instance ARN` (it will look like `arn:aws:sso:::instance/ssoins-XXXXXX`) to your clipboard.

Next we want to update the CloudFormation stack with the IAM Identity Center Instance ARN to provision a set of [Permission Sets](https://docs.aws.amazon.com/singlesignon/latest/userguide/permissionsetsconcept.html).

Expand Down
Binary file added docs/aws_iam_identity_center_enable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/github_actions_enable_actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/github_actions_run_workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit daaa71a

Please sign in to comment.