-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support AppConfig Deployment Strategy #19359
feat: support AppConfig Deployment Strategy #19359
Conversation
I'll check the error. https://github.com/hashicorp/terraform-provider-aws/pull/19359/checks?check_run_id=3047540772 Fixed 326ffda |
The acceptance test was failed. $ make testacc TESTARGS='-run=TestAccAWSAppConfigDeploymentStrategy'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppConfigDeploymentStrategy -timeout 180m
=== RUN TestAccAWSAppConfigDeploymentStrategy_basic
=== PAUSE TestAccAWSAppConfigDeploymentStrategy_basic
=== RUN TestAccAWSAppConfigDeploymentStrategy_disappears
=== PAUSE TestAccAWSAppConfigDeploymentStrategy_disappears
=== RUN TestAccAWSAppConfigDeploymentStrategy_Tags
=== PAUSE TestAccAWSAppConfigDeploymentStrategy_Tags
=== CONT TestAccAWSAppConfigDeploymentStrategy_basic
=== CONT TestAccAWSAppConfigDeploymentStrategy_Tags
=== CONT TestAccAWSAppConfigDeploymentStrategy_disappears
=== CONT TestAccAWSAppConfigDeploymentStrategy_basic
resource_aws_appconfig_deployment_strategy_test.go:17: Step 1/2 error: Check failed: Check 3/4 error: aws_appconfig_deployment_strategy.test: Attribute 'tags.%' expected "0", got "1"
--- FAIL: TestAccAWSAppConfigDeploymentStrategy_basic (35.20s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_disappears (48.52s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_Tags (123.25s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 125.199s
FAIL
make: *** [testacc] Error 1 Fixed. 9254447 |
The acceptance test was passed. |
Awesome thanks @suzuki-shunsuke ! I'll just be adding a commit to add default tags support and additional test coverage to get this last one merged in 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output of acceptance test (Commercial):
--- PASS: TestAccAWSAppConfigDeploymentStrategy_disappears (39.48s)
--- PASS: TestAccAWSAppConfigHostedConfigurationVersion_disappears (54.24s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_disappears (55.17s)
--- PASS: TestAccAWSAppConfigEnvironment_disappears (57.36s)
--- PASS: TestAccAWSAppConfigApplication_basic (58.70s)
--- PASS: TestAccAWSAppConfigEnvironment_basic (59.00s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_basic (59.12s)
--- PASS: TestAccAWSAppConfigHostedConfigurationVersion_basic (61.47s)
--- PASS: TestAccAWSAppConfigApplication_updateName (97.24s)
--- PASS: TestAccAWSAppConfigApplication_disappears (41.93s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_updateDescription (100.44s)
--- PASS: TestAccAWSAppConfigEnvironment_MultipleEnvironments (117.42s)
--- PASS: TestAccAWSAppConfigEnvironment_updateName (121.66s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_basic (68.17s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_Multiple (70.77s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_Tags (128.94s)
--- PASS: TestAccAWSAppConfigApplication_Tags (132.47s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_updateFinalBakeTime (132.47s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_updateDescription (100.89s)
--- PASS: TestAccAWSAppConfigEnvironment_updateDescription (144.69s)
--- PASS: TestAccAWSAppConfigApplication_updateDescription (145.23s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_JSON (145.87s)
--- PASS: TestAccAWSAppConfigEnvironment_Monitors (150.84s)
--- PASS: TestAccAWSAppConfigEnvironment_Tags (150.85s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_updateName (94.64s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Tags (103.51s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_Lambda (148.62s)
Output of acceptance tests (GovCloud):
--- PASS: TestAccAWSAppConfigDeploymentStrategy_disappears (107.54s)
--- PASS: TestAccAWSAppConfigEnvironment_disappears (170.95s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_disappears (171.09s)
--- PASS: TestAccAWSAppConfigHostedConfigurationVersion_disappears (171.31s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_basic (182.17s)
--- PASS: TestAccAWSAppConfigApplication_basic (182.19s)
--- PASS: TestAccAWSAppConfigHostedConfigurationVersion_basic (213.56s)
--- PASS: TestAccAWSAppConfigEnvironment_basic (231.07s)
--- PASS: TestAccAWSAppConfigApplication_disappears (439.04s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_basic (440.95s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_Multiple (456.08s)
--- PASS: TestAccAWSAppConfigEnvironment_updateName (628.01s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_updateDescription (633.59s)
--- PASS: TestAccAWSAppConfigApplication_Tags (635.31s)
--- PASS: TestAccAWSAppConfigEnvironment_MultipleEnvironments (637.43s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_Tags (640.97s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_updateFinalBakeTime (641.23s)
--- PASS: TestAccAWSAppConfigEnvironment_Tags (650.85s)
--- PASS: TestAccAWSAppConfigApplication_updateName (438.47s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Tags (654.92s)
--- PASS: TestAccAWSAppConfigDeploymentStrategy_updateDescription (655.57s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_updateName (549.30s)
--- PASS: TestAccAWSAppConfigEnvironment_updateDescription (665.83s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_Lambda (502.58s)
--- PASS: TestAccAWSAppConfigEnvironment_Monitors (679.19s)
--- PASS: TestAccAWSAppConfigApplication_updateDescription (499.88s)
--- PASS: TestAccAWSAppConfigConfigurationProfile_Validators_JSON (697.76s)
This functionality has been released in v3.50.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #11973 #18032 #19307 #19320 #19324
Output from acceptance testing:
Add a resource
aws_appconfig_deployment_strategy
to support AppConfig Deployment Strategy.