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.

posta 2 anni fa548 visualizzazioni
1 Risposta
1
Risposta accettata

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.

TECNICO DI SUPPORTO
con risposta 2 anni fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande