aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 54 forks source link

AWS::ApiGatewayV2::DomainName - Tags broken #398

Closed farski closed 2 years ago

farski commented 4 years ago

AWS::ApiGatewayV2::DomainName is documented as having support for tags, but when a template is deployed with tags included the resource fails with the error Internal Failure.

I've tried it both using the traditional way

Tags:
  - Key: Foo
    Value: Bar

as well as with straight key value pairs

Tags:
  Foo: Bar

The former fails validation with a type error, and the latter fails with the previously mentioned Internal Failure.

As an aside, the fact that most ApiGatewayV2 resources have switched to a tagging format that's incongruous to nearly all other CloudFormation resources is needlessly annoying. It's just one of those small things that adds to the already fairly tough mental gymnastics needed to work with complex Cfn templates.

manospasj commented 4 years ago

Any update on this? I have the same issue with AWS::ApiGatewayV2::Api and AWS::ApiGatewayV2::Stage. I assume the same happens with all ApiGatewayV2 resources.

linyunxiang commented 3 years ago

Additionally, AWS::ApiGatewayV2::DomainName should also add support for stack-level tags.