aws-cloudformation-templates
aws-cloudformation-templates copied to clipboard
PyPlate macro: "YAML not well-formed. (line 12, column 23)"
When trying to deploy the PyPlate macro:
aws cloudformation package \
--template-file python.yaml \
--s3-bucket macros-cfn-mparnisa \
--output-template-file packaged.yaml
aws cloudformation deploy \
--stack-name Pyplate-macro \
--template-file packaged.yaml \
--capabilities CAPABILITY_IAM
(where python.yaml is this file)
I get this error:
An error occurred (ValidationError) when calling the CreateChangeSet operation: Template format error: YAML not well-formed. (line 12, column 23)
I got this to work only after changing the file packaged.yaml from
Action: [sts:AssumeRole] Action: [logs:*]
to
Action: ['sts:AssumeRole'] Action: ['logs:*']
Looks related to https://github.com/aws/aws-cli/issues/3991
Due to inactivity this issue will be closed in 7 days