cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

CloudFormation stack update reports "Internal Failure" for AWS::Batch::ComputeEnvironment resource when only Tags property is updated

Open nikhil-aws opened this issue 3 years ago • 0 comments

Name of the resource

AWS::Batch::ComputeEnvironment

Resource Name

No response

Issue Description

When a changeset is created and then executed after updating Tags property for AWS::Batch::ComputeEnvironment resource, CloudFormation update fails with "Internal Failure" error. This is applicable to both console and 'cloudformation deploy' command.

Expected Behavior

All tags changes should get applied to AWS::Batch::ComputeEnvironment resource.

Observed Behavior

Stack update fails with "Internal Failure" error when a changeset is created and then executed with change in Tags property for AWS::Batch::ComputeEnvironment resource.

  • However If the stack is updated directly, then the stack update goes through successfully. This is applicable to updating the stack using console and using update-stack API call.
  • Also, new stack with updated Tags property will also deploy successfully.

Test Cases

  • Create a CF stack with AWS::Batch::ComputeEnvironment and some other resources.
  • Create a changeset with a change in Tags property value.
  • Execute the changeset, update will fail for AWS::Batch::ComputeEnvironment resource with "Internal Failure" error.

Other Details

No response

nikhil-aws avatar Jun 30 '22 18:06 nikhil-aws