Skip to content

Commit

Permalink
fix: stringify region in function Cloudformation file (aws-amplify#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustavghosh06 authored May 29, 2019
1 parent 4ce4dae commit cb6f438
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
]
},
"Environment": {"Variables" : { "ENV": {"Ref": "env"}, "REGION": { "Ref": 'AWS::Region'}<% if (props.resourceProperties && props.resourceProperties.length > 0) { %>,<%- props.resourceProperties%> <% } %>}},
"Environment": {"Variables" : { "ENV": {"Ref": "env"}, "REGION": { "Ref": "AWS::Region"}<% if (props.resourceProperties && props.resourceProperties.length > 0) { %>,<%- props.resourceProperties%> <% } %>}},
"Role": { "Fn::GetAtt" : ["LambdaExecutionRole", "Arn"] },
"Runtime": "nodejs8.10",
"Timeout": "25"
Expand Down

0 comments on commit cb6f438

Please sign in to comment.