-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Resource aws_serverlessapplicationrepository_cloudformation_stack is failing during update #23874
Comments
Hey @himsharma01 👋 Thank you for taking the time to raise this! I see that you've linked #16485 -- on a quick read, this issue appears to be a duplicate of that issue. Is there anything that I'm not catching that would indicate that this isn't a duplicate of that issue? |
Hey @justinretzolk , The resolution provided there was hardcoding the values but we cannot hardcode in our code. Or Please let me know the resolution if I have misread #16485 resolution and give me correct pointers. |
Hey @himsharma01 👋 I believe your read of the issue was correct. My reason for asking was less than the linked issue would resolve the issue (it's still an open issue that needs to be worked on), and more determining whether or not your issue was a duplicate of the linked issue. We typically try to keep multiple reports of the same bug contained to a single GitHub issue to limit the spread of potentially helpful information. To ask another way, would you be okay with me merging this issue into the other, as you seem to have reported the same bug here? |
Hey @justinretzolk , The old issue is 2 years old and still open, I'm afraid if we merge it to old issue it might again get lost again and we will not be able to reach to a solution on this issue. However please proceed as per your polices but I just want to make sure we should be able to zero'ed in on this issue as its pending from a long time. |
Hey @himsharma01 -- I appreciate your understanding here, and absolutely understand where you're coming from in not wanting this issue to get lost. We use ":+1:" reactions to help with prioritization, and given that the linked issue currently has more than yours, merging the issues is more likely to help than hurt in this case. With that in mind, we'll close this in favor of the original issue so that we can continue to track that one for prioritization. If you've not already, I'd recommend adding a 👍 reaction to that issue as well, to help to boost its numbers. |
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. |
Community Note
Description
While calling cloudformation stack via AWS Terraform resource. On first "terraform apply", it gets created successfully and when I run "terraform apply" again without any changes it fails. I'm not sure if there are no changes then why CF is creating a change stack and failing it.
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.4
on darwin_amd64
terraform providers
Providers required by configuration:
├── provider[registry.terraform.io/hashicorp/aws] >= 4.0.0
└── provider[registry.terraform.io/sumologic/sumologic] >= 2.10.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
If there is no change in configuration, then terraform should not show
Plan: 0 to add, 1 to change, 0 to destroy.
instead ignore and apply the intentional changes.Actual Behavior
On first "terraform apply", it gets created successfully and when I run "terraform apply" again without any changes it fails. I'm not sure if there are no changes then why CF is creating a change stack and failing it. Or it should fail gracefully and apply other changes. Because of this bug we are not able to make any modifications in our infra as its always failing at same point and not able to proceed once it is interrupted.
Please note we can not do hardcoding on above passed variables as they need to be dynamic as per code.
Steps to Reproduce
terraform apply
terraform apply
References
#16485
The text was updated successfully, but these errors were encountered: