File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ runtime:
1212 go_module : github.com/nitrictech/plugins/gcp/cloudrun
1313
1414inputs :
15- environment :
15+ environment_variables :
1616 type : map(string)
1717 description : ' Cloud Run service environment variables (e.g. `{"NODE_ENV": "production", "API_KEY": "secret"}`)'
1818 memory_mb :
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ resource "google_cloud_run_v2_service" "service" {
130130 }
131131
132132 dynamic "env" {
133- for_each = merge (var. environment , var. suga . env )
133+ for_each = merge (var. environment_variables , var. suga . env )
134134 content {
135135 name = env. key
136136 value = env. value
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ variable "suga" {
1010 })
1111}
1212
13- variable "environment " {
13+ variable "environment_variables " {
1414 type = map (string )
1515 description = " Environment variables to set on the lambda function"
1616 default = {}
You can’t perform that action at this time.
0 commit comments