-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic Rollback of CodeDeploy deployments and CloudWatch Alarms fo…
…r a Deployment Group (#9039) * provider/aws: Add DeploymentRollback as a valid TriggerEvent type * provider/aws: Add auto_rollback_configuration to aws_codedeploy_deployment_group * provider/aws: Document auto_rollback_configuration - part of aws_codedeploy_deployment_group * provider/aws: Support removing and disabling auto_rollback_configuration - part of aws_codedeploy_deployment_group resource - when removing configuration, ensure events are removed - when disabling configuration, preserve events in case configuration is re-enabled * provider/aws: Add alarm_configuration to aws_codedeploy_deployment_group * provider/aws: Document alarm_configuration - part of aws_codedeploy_deployment_group * provider/aws: Support removing alarm_configuration - part of aws_codedeploy_deployment_group resource - disabling configuration doesn't appear to work... * provider/aws: Refactor auto_rollback_configuration tests - Add create test - SKIP failing test for now - Add tests for build & map functions * provider/aws: Refactor new aws_code_deploy_deployment_group tests - alarm_configuration and auto_rollback_configuration only - add assertions to deployment_group basic test - rename config funcs to be more easy to read - group public tests together * provider/aws: A max of 10 alarms can be added to a deployment group. - aws_code_deploy_deployment_group.alarm_configuration.alarms - verified this causes test failure with expected exception * provider/aws: Test disabling alarm_configuration and auto_rollback_configuration - the tests now pass after rebasing the latest master branch
- Loading branch information
Showing
2 changed files
with
785 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.