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
Making any changes to tags on the top level compute environment resource triggers a replacement. This is highly problematic for us and tagging should never affect the ability to update the resource in place. I'm linking this other MSK issue that was finally resolved last year due to the same behavior. Can CloudFormation service team invest in getting to the point that it's a requirement for service teams to support tag changes. This is very dangerous behavior for resource replacement to get triggered in an unexpected way when something like stack level tags change. And can put developers in a bind in being able to keep their resources properly tagged when new tagging requirements come in after initially shipping and the resource starts getting used. Developers then start having to build hacky work arounds to make sure new tags don't get applied to the existing resources in their code.
Also just to be clear this is the top level ComputeEnvironment. The ReplaceComputeEnvironment flag only lets you update the tags within the ComputeResources which are the tags that get applied to the EC2 instances created by the environment, the top level ComputeEnvironment will still replace if you set this field to true.
This is properly documented in the API, but still going to file this as a bug given the issue with the behavior.
Expected Behavior
Tag changes on AWS::Batch::ComputeEnvironment should not trigger replacement
Observed Behavior
Tag changes replace the resource
Test Cases
n/a
Other Details
No response
The text was updated successfully, but these errors were encountered:
Name of the resource
AWS::Batch::ComputeEnvironment
Resource Name
No response
Issue Description
Making any changes to tags on the top level compute environment resource triggers a replacement. This is highly problematic for us and tagging should never affect the ability to update the resource in place. I'm linking this other MSK issue that was finally resolved last year due to the same behavior. Can CloudFormation service team invest in getting to the point that it's a requirement for service teams to support tag changes. This is very dangerous behavior for resource replacement to get triggered in an unexpected way when something like stack level tags change. And can put developers in a bind in being able to keep their resources properly tagged when new tagging requirements come in after initially shipping and the resource starts getting used. Developers then start having to build hacky work arounds to make sure new tags don't get applied to the existing resources in their code.
Also just to be clear this is the top level ComputeEnvironment. The ReplaceComputeEnvironment flag only lets you update the tags within the ComputeResources which are the tags that get applied to the EC2 instances created by the environment, the top level ComputeEnvironment will still replace if you set this field to true.
This is properly documented in the API, but still going to file this as a bug given the issue with the behavior.
Expected Behavior
Tag changes on AWS::Batch::ComputeEnvironment should not trigger replacement
Observed Behavior
Tag changes replace the resource
Test Cases
n/a
Other Details
No response
The text was updated successfully, but these errors were encountered: