AWS Cloudformation- How to do string Uppercase or lowercase in json/yaml template

后端 未结 4 867
北恋
北恋 2021-02-19 11:18

I am working on AWS CloudFormation and I created one template in which I asked user to select Environment.

On the basis of selected value I created the resources.

4条回答
  •  天涯浪人
    2021-02-19 12:17

    Mr. Young is correct, that is the syntax you need to use to invoke the macros.

    HOWEVER, the key factor which both they and the documentation failed to mention is that in order to invoke the transform macros that you need to deploy this stack into your accounts BEFORE you can use the functions listed in the ReadMe.

    https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/CloudFormation/MacrosExamples/StringFunctions/string.yaml

    I think the docs could be clarified in this regard, I'll see if I can PR a clarification

提交回复
热议问题