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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠