Closed AdamLenda closed 6 years ago
aws cloudformation create-stack \ --capabilities CAPABILITY_IAM \ --stack-name cfn-secret-provider \ --template-body file://cloudformation/cfn-resource-provider.json
fails with:
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: unsupported structure.
I checked the folder and found it is a Yaml file, so made that change and it worked:
aws cloudformation create-stack \ --capabilities CAPABILITY_IAM \ --stack-name cfn-secret-provider \ --template-body file://cloudformation/cfn-resource-provider.yaml
fails with:
I checked the folder and found it is a Yaml file, so made that change and it worked: