Skip to content

Commit

Permalink
chore: add custom envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Jun 15, 2024
1 parent 17e0390 commit 60a2c0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@
],
"settings": {}
}
},
"containerEnv": {
"TF_WORKSPACE": "infradev"
},
"remoteEnv": {
"TF_CLI_ARGS_apply": "-var-file=${containerEnv:TF_WORKSPACE}.tfvars",
"TF_CLI_ARGS_destroy": "-var-file=${containerEnv:TF_WORKSPACE}.tfvars",
"TF_CLI_ARGS_plan": "-var-file=${containerEnv:TF_WORKSPACE}.tfvars"
}
}

0 comments on commit 60a2c0b

Please sign in to comment.