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 年前檢視次數 548 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南