user1584120
user1584120

Reputation: 1261

how to access SSM params from CodePipeline

In my samTemplate I have some parameters defined so in my CodePipeline (CloudFormation step) I would like to override those params with SSM values. How can I do this?

Upvotes: 2

Views: 370

Answers (1)

user1584120
user1584120

Reputation: 1261

You need to do this in the sam template:

Parameters:
  S3Bucket:
   Type : 'AWS::SSM::Parameter::Value<String>'
   Default: "KEY_NAME"

KEY_NAME is the key in ssm, why its called Default I have no idea?

Upvotes: 4

Related Questions