AWS::CloudFormation::Interface metadata ignored

0

Hello,

I've followed documentation here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html#cfn-cloudformation-interface-parameterlabels to set up parameter groups and labels for a stack. And everything was just fine for the last 5 (five) years in several regions (us-east-1, eu-west-1 and eu-central-1). However from today it doesn't seem to be working anymore: all my labels and groups are completely ignored and are not displayed during stack update.

Assuming this is not a bug, there might be some changes in the template format made which are not reflected in the documentation.

So, my questions are :

  1. What is the right way to set up parameter groups and labels ?
  2. Or in the case if this is just a bug, is it considered to be safe to perform stack updates ?

Best Regards, Alex.

UPD: Parameter labels are back, but still no names of ParameterGroups.

I hope this is just a temporary issue.

已提问 2 年前549 查看次数
1 回答
1
已接受的回答

Hello Alex,

I have tested locally in my AWS account with very basic template and I can see both ParameterGroups and ParameterLabels are getting displayed on AWS Console as mentioned in the template. I have also deployed in many regions (us-east-1, eu-west-1 and eu-central-1) and it seems to be working.

Metadata: 
  AWS::CloudFormation::Interface: 
  ParameterGroups: 
     - 
      Label: 
        default: "S3 Configuration"
      Parameters: 
        - Bucketname
  ParameterLabels: 
    Bucketname: 
      default: "Give your Bucket Name here"
Parameters:
  Bucketname:
    Type: String
Resources:
  S3:
    Type: AWS::S3::Bucket
    Properties:
        BucketName: !Ref Bucketname

See the above template for your reference.

Since ParameterGroups and ParameterLabels are just used to group and sort parameters in the AWS CloudFormation console using Metadata section, there will not be any issue during Update operation.

You can refer to AWS::CloudFormation::Interface document for more information.

I hope things are working as expected at your end as well.

支持工程师
已回答 2 年前
  • Hello Satayam,

    I have tested locally in my AWS account with very basic template and I can see both ParameterGroups and ParameterLabels are getting displayed on AWS Console

    Yes, you're right. After a couple of weeks all the labels and groups were back with no changes from my side. Thanks for fixing that!

    Since ParameterGroups and ParameterLabels are just used to group and sort parameters in the AWS CloudFormation console using Metadata section, there will not be any issue during Update operation.

    Thank you for the answer! Have a nice day!

    All the best, Alex.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则