Cloudformation command:
- aws cloudformation create-stack --stack-name stackName --template-body file://cloudformation.yaml --parameters ParameterKey=keyName,ParameterValue=myKeys
I need to paste env variable into UserData cloudformation sctipt. So at the end it would have docker pull quay.io/apple/myRepo:myVarName
UserData:
Fn::Base64: !Sub |
docker pull quay.io/apple/myRepo:master
!Join [ ":", ["quay.io/apple/myRepo", !Ref myParameterName ] ]