Articles → AWS → Reference CloudFormation Parameters From The AWS System Manager Parameter Store
Reference CloudFormation Parameters From The AWS System Manager Parameter Store
What Is The AWS Systems Manager Parameter Store?
Create A Parameter In The Parameter Store
Create A YAML File
AWSTemplateFormatVersion: '2010-09-09'
Description: Create an S3 bucket with a name fetched from Parameter Store
Parameters:
BucketNameParameter:
Type: AWS::SSM::Parameter::Value<String>
Default: /my-app/bucket-name
Description: The name of the S3 bucket stored in Parameter Store
Resources:
S3Bucket:
Type: AWS::S3::Bucket
Properties:
BucketName: !Ref BucketNameParameter
Outputs:
BucketName:
Description: The name of the created S3 bucket
Value: !Ref S3Bucket
Create A Cloudformation Stack
Output