Skip to content

Playground for testing repo, GitHub actions and AWS CI/CD features.

Notifications You must be signed in to change notification settings

samkio/repo-sandbox

Repository files navigation

repo-sandbox

Playground for testing repo, GitHub actions and AWS CI/CD features.

AWS Bootstrapping Setup

  1. Run cdk bootstrap aws://123456789012/eu-west-2
    • NOTE: Only required if the AWS environment is not already bootstrapped.
    • NOTE: Replaced AWS Account ID as appropriate.
    • NOTE: This can be done via AWS CloudShell.
  2. Run the setup.template CloudFormation template via CloudFormation
    • NOTE: OIDC Provider ARN is optional. If not provided it will generate one. (Useful if one has already been created)
    • Run this for every environment that will be created in the appropriate AWS account ("Development", "Integration", "Production")
    • Set the GitHub secret values 'DEV_DEPLOY_ROLE', 'INT_DEPLOY_ROLE' and 'PROD_DEPLOY_ROLE' to be the associated arns created previously at the environment level (not repo level) in GitHub.

CloudFormation Quick Links:

NOTE: Repository should require approval to run actions for non-codeowners.

Further docs: https://www.eliasbrange.dev/posts/secure-aws-deploys-from-github-actions-with-oidc/

About

Playground for testing repo, GitHub actions and AWS CI/CD features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published