2021-04-09 16:10:21 +02:00

22 lines
546 B
YAML

service: service
configValidationMode: error
variablesResolutionMode: 20210326
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