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 @@ -376,7 +376,8 @@ Example:
376
376
spec:
377
377
...
378
378
backendConfig:
379
- "bucket: ${environment.name\\ }-bucket\n key: tf-state/${local.username\\ }/terraform.tfstate"
379
+ bucket: ${environment.name}-bucket
380
+ key: tf-state/${local.username}/terraform.tfstate
380
381
` ` `
381
382
382
383
Original file line number Diff line number Diff line change @@ -591,7 +591,8 @@ Example:
591
591
592
592
` ` ` yaml
593
593
backendConfig:
594
- "bucket: ${environment.name\\ }-bucket\n key: tf-state/${local.username\\ }/terraform.tfstate"
594
+ bucket: ${environment.name}-bucket
595
+ key: tf-state/${local.username}/terraform.tfstate
595
596
` ` `
596
597
597
598
Original file line number Diff line number Diff line change @@ -226,7 +226,8 @@ Example:
226
226
` ` ` yaml
227
227
providers:
228
228
- 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
230
231
` ` `
231
232
232
233
Original file line number Diff line number Diff line change @@ -45,10 +45,11 @@ export const terraformBackendConfigSchema = () =>
45
45
46
46
If Garden sees that the backend has changes, it'll re-initialize Terraform and set the new values.
47
47
`
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
+ } )
52
53
53
54
export const variablesSchema = ( ) => joiStringMap ( joi . any ( ) )
54
55
You can’t perform that action at this time.
0 commit comments