mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
22 lines
650 B
YAML
22 lines
650 B
YAML
service: service
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs12.x
|
|
|
|
custom:
|
|
importedFile: ${file(config.json)}
|
|
importedFileWithKey: ${file(config.json):foo}
|
|
importedTerraformState: ${file(terraform.tfstate)}
|
|
importedTerraformStateWithKey: ${file(terraform.tfstate):outputs.listenerarn.type}
|
|
awsVariable: ${AWS::Region}
|
|
cloudFormationReference: ${AnotherResource}
|
|
selfReference: ${self:custom.importedFileWithKey}
|
|
serviceReference: ${self:}
|
|
nestedRef: nestedVal
|
|
nestedVal:
|
|
prop: resolvedNested
|
|
nestedReference: ${self:custom.${self:custom.nestedRef}.prop}
|
|
prototype:
|
|
nestedInPrototype: ${file(config.json):foo}-in-prototype
|