File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,8 @@ Example:
377377spec:
378378 ...
379379 backendConfig:
380- "bucket: ${environment.name\\ }-bucket\n key: tf-state/${local.username\\ }/terraform.tfstate"
380+ bucket: ${environment.name}-bucket
381+ key: tf-state/${local.username}/terraform.tfstate
381382` ` `
382383
383384
Original file line number Diff line number Diff line change @@ -592,7 +592,8 @@ Example:
592592
593593` ` ` yaml
594594backendConfig:
595- "bucket: ${environment.name\\ }-bucket\n key: tf-state/${local.username\\ }/terraform.tfstate"
595+ bucket: ${environment.name}-bucket
596+ key: tf-state/${local.username}/terraform.tfstate
596597` ` `
597598
598599
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ Example:
226226` ` ` yaml
227227providers:
228228 - backendConfig:
229- "bucket: ${environment.name\\ }-bucket\n key: tf-state/${local.username\\ }/terraform.tfstate"
229+ bucket: ${environment.name}-bucket
230+ key: tf-state/${local.username}/terraform.tfstate
230231` ` `
231232
Original file line number Diff line number Diff line change @@ -45,10 +45,11 @@ export const terraformBackendConfigSchema = () =>
4545
4646 If Garden sees that the backend has changes, it'll re-initialize Terraform and set the new values.
4747 `
48- ) . example ( dedent `
49- bucket: \$\{environment.name\}-bucket
50- key: tf-state/\$\{local.username\}/terraform.tfstate
51- ` )
48+ )
49+ . example ( {
50+ bucket : "${environment.name}-bucket" ,
51+ key : "tf-state/${local.username}/terraform.tfstate" ,
52+ } )
5253
5354export const variablesSchema = ( ) => joiStringMap ( joi . any ( ) )
5455
You can’t perform that action at this time.
0 commit comments