Closed bedge closed 6 years ago
They're definitely not standard, and many different parsers have issues with them. What I've done for most of my CF stacks is to use the slightly more verbose, but completely valid alternative structure, e.g.:
LambdaExecRolePolicies:
Type: AWS::IAM::Policy
Properties:
PolicyName:
Fn::Sub: '${OwnerNamespace}-${AssetNamespace}-execution-${FunctionName}'
I can live with that for my own work, but being a usurper of the work of others, the downside is that the other exists in the wild and is not going away. Thanks for the alternative syntax hint.
I have no idea whether tehse are "standard" yaml or not, but it would be super useful if this supported the !XXX yaml extensions that AWS uses. eg:
This currently results in the following stack trace: