What's new at AWS π’
π AWS CloudFormation Git sync now allows you to review your stack changes via Pull Request (PR) comments before they are deployed to CloudFormation.
π With this launch, developer can get a clear overview of the changes in deployments within the PR.
π CloudFormation Git sync will automatically post the change set information as comments to each new PR created or updated in the repository.
π It enables you to review the proposed changes and then deploy the changes by merging the PR.
π Since CloudFormation allows DevOps engineer to use a template file to manage the configuration of resources as a stack.
π In addition developer can store this template in a remote Git repository using Git sync, and have CloudFormation stacks automatically updated.
π Also CloudFormation continuously monitors Git repository and triggers a change set deployment whenever it detects a change in following,
π Any template file that defines a stack
π Stack deployment file that contains parameters, configure the stack.
π Benefit of this launch is, customer can detect and prevent undesired changes from being deployed through a PR review of the change.
π Steps to enable GitSync with CloudFormation:
π Connect a Git provider to CloudFormation using CodeConnections service console.
π Create CFT that defines your resource stack and add it to your repository.
specify the repository and branch you want
π Choose Sync from Git from CloudFormation Console
π Specify the repository, branch you want CloudFormation to monitor
π Choose the CloudFormation template defines the stack.
π Supported GitProviders to enable GitSync with CloudFormation:
π GitHub and GitHub Enterprise
π GitLab and GitLab self-managed
π Bitbucket
π Explore more about GitSync:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/git-sync.html
π Explore more about CloudFormation deployment with Git Repo:
https://aws.amazon.com/blogs/devops/automate-safe-aws-cloudformation-deployments-from-github/
Top comments (0)