You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Deployment of the template fails with the following CloudFormation error: A conflicting conditional operation is currently in progress against this resource. Please try again.
To Reproduce
Steps to reproduce the behavior:
Follow the instructions in the README.md to build and deploy the template.
Wait for the failure notification.
Check under Events in the CloudFormation Stack created for the detected root cause.
Confirm that this matches the error message reported above and pertains to the WebsiteS3Bucket resource.
Expected behavior
The deployment should complete successfully with no errors (provided that the values supplied for its config are valid).
Screenshots
N/A
Desktop (please complete the following information):
Not that this is relevant, but here goes:
OS: Windows 11 with WSL running Arch
Browser: Chrome
Version: 130.0.6723.70 (Official Build) (64-bit)
Smartphone (please complete the following information):
N/A
Additional context
Not that this is likely to be relevant, but the contracts deployment option is utilised.
I have diagnosed the issue, and established that it occurs because the WebsiteS3Bucketresource has an unconditional reference to WebsiteS3BucketName, whereas the WebsiteS3Bucket output is conditional. This seems to cause a race condition with CloudFormation, which then results in the operation failing. I have a fix ready, for which I'll submit a PR.
The text was updated successfully, but these errors were encountered:
Describe the bug
Deployment of the template fails with the following CloudFormation error:
A conflicting conditional operation is currently in progress against this resource. Please try again.
To Reproduce
Steps to reproduce the behavior:
README.md
tobuild
anddeploy
the template.Events
in the CloudFormation Stack created for the detected root cause.WebsiteS3Bucket
resource.Expected behavior
The deployment should complete successfully with no errors (provided that the values supplied for its config are valid).
Screenshots
N/A
Desktop (please complete the following information):
Not that this is relevant, but here goes:
Smartphone (please complete the following information):
N/A
Additional context
Not that this is likely to be relevant, but the
contracts
deployment option is utilised.I have diagnosed the issue, and established that it occurs because the
WebsiteS3Bucket
resource has an unconditional reference toWebsiteS3BucketName
, whereas theWebsiteS3Bucket
output is conditional. This seems to cause a race condition with CloudFormation, which then results in the operation failing. I have a fix ready, for which I'll submit a PR.The text was updated successfully, but these errors were encountered: