-
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
[Bug]: AWS API ConflictException when creating multiple aws_appconfig_deployment resources #36975
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Relates #36542. |
I can reproduce this with a new acceptance test case: % make testacc TESTARGS='-run=TestAccAppConfigDeployment_multiple' PKG=appconfig
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/appconfig/... -v -count 1 -parallel 20 -run=TestAccAppConfigDeployment_multiple -timeout 360m
=== RUN TestAccAppConfigDeployment_multiple
=== PAUSE TestAccAppConfigDeployment_multiple
=== CONT TestAccAppConfigDeployment_multiple
deployment_test.go:186: Step 1/1 error: Error running apply: exit status 1
Error: starting AppConfig Deployment: operation error AppConfig: StartDeployment, https response error StatusCode: 409, RequestID: a12558ca-6139-48bf-adfb-36e10010b401, ConflictException: Deployment number 1 already exists
with aws_appconfig_deployment.test[1],
on terraform_plugin_test.tf line 50, in resource "aws_appconfig_deployment" "test":
50: resource "aws_appconfig_deployment" "test"{
Error: starting AppConfig Deployment: operation error AppConfig: StartDeployment, https response error StatusCode: 409, RequestID: 567e9658-844d-44fe-9015-dd91c1af1530, ConflictException: Deployment number 1 already exists
with aws_appconfig_deployment.test[0],
on terraform_plugin_test.tf line 50, in resource "aws_appconfig_deployment" "test":
50: resource "aws_appconfig_deployment" "test"{
--- FAIL: TestAccAppConfigDeployment_multiple (12.00s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/appconfig 23.814s
FAIL
make: *** [testacc] Error 1 |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.46.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.4.2
AWS Provider Version
5.44.0+
Affected Resource(s)
aws_appconfig_deployment
Expected Behavior
I have configuration that deploys multiple AWS Config configurations from a local list. See full main.tf in the configuration files field, here is the relevant piece:
This works just fine on TF1.2+ and AWS provider 5 until 5.44.0. v5.44 and 5.45 give the following error during apply:
Actual Behavior
AWS API error 409
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Run
terraform apploy
with the configuration above.Debug Output
tf_debug_log.txt
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: