Mariusz Nowak 731b3ba1e1 feat(Variables): Remove old variables resolver
BREAKING CHANGE:
Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
2022-01-27 15:21:58 +01:00

20 lines
511 B
YAML

service: service
configValidationMode: error
provider:
name: aws
runtime: nodejs12.x
custom:
importedFile: ${file(config.json)}
importedFileWithKey: ${file(config.json):foo}
awsVariable: ${AWS::Region}
cloudFormationReference: ${AnotherResource}
selfReference: ${self:custom.importedFileWithKey}
nestedRef: nestedVal
nestedVal:
prop: resolvedNested
nestedReference: ${self:custom.${self:custom.nestedRef}.prop}
prototype:
nestedInPrototype: ${file(config.json):foo}-in-prototype