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.

feita há 2 anos548 visualizações
1 Resposta
1
Resposta aceita

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.

ENGENHEIRO DE SUPORTE
respondido há 2 anos
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas