Skip to content
Permalink
Browse files

Working Environment Variables

  • Loading branch information...
garywoodfine committed Apr 25, 2019
1 parent 4a69df1 commit b4febd704d8b3ef2a67cf95c721c1a34e1afaa04
Showing with 6 additions and 2 deletions.
  1. +5 −0 src/env.configs.yml
  2. +1 −2 src/serverless.yml
@@ -0,0 +1,5 @@
feature: <feature_name>
version: 1.0.0.0
region: <aws_region>
accountId: <aws_account_id>
something: "Coconuts are cool to eat"
@@ -4,7 +4,7 @@ provider:
name: aws
runtime: dotnetcore2.1
environment:
SpeakEnvironment__SaySomething: "Eating coconuts is cool"
SpeakEnvironment__SaySomething: ${file(env.configs.yml):something}

package:
individually: true
@@ -13,6 +13,5 @@ functions:
hello:
handler: HelloConfiguration::Threenine.ConfigTest.Functions.Speak::Greet


package:
artifact: bin/release/netcoreapp2.1/hello.zip

0 comments on commit b4febd7

Please sign in to comment.
You can’t perform that action at this time.