finish loop through env variables to get the secret DOC : https://stackoverflow.com/questions/69945533/creating-a-dynamic-secret-variable-block-within-terraform-for-cloud-run
This commit is contained in:
@@ -34,7 +34,7 @@ kubernetes = {
|
||||
# environment_variables = { PORT = 80, test = 22 }
|
||||
environment = {
|
||||
MY_VAR = {
|
||||
name = "MY_VAR"
|
||||
name = "MY_VARS"
|
||||
value_from = {
|
||||
secret_key_ref = {
|
||||
name = "my_secret"
|
||||
@@ -42,6 +42,10 @@ kubernetes = {
|
||||
}
|
||||
}
|
||||
}
|
||||
DEUX_VAR = {
|
||||
name = "var-deux"
|
||||
value = "valeur"
|
||||
}
|
||||
}
|
||||
pvc = {
|
||||
onitamadeux = {
|
||||
|
||||
Reference in New Issue
Block a user