1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi,
I'm not familiar with CloudFormation, but where does CF find the variable Stage ?
=> [ 'S3BucketMap', { Ref: 'Stage' } ,"s3BucketArn" ]
con risposta 3 anni fa
Hi,
I'm not familiar with CloudFormation, but where does CF find the variable Stage ?
=> [ 'S3BucketMap', { Ref: 'Stage' } ,"s3BucketArn" ]
Is there an additional section where you define the Stage parameter? It also appears that you are using JSON syntax for the Resource value while the overall document is YAML. Check the examples here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html#mappings-section-structure-examples