When environment variables are also set in the os environment:
juergen@lemmy:~/tmp/terraform-provider-shell/examples → yolo=foo terraform apply
data.shell_script.test: Refreshing state...
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
...
# shell_script.test6 will be created
+ resource "shell_script" "test6" {
+ dirty = false
+ environment = {
+ "ball" = "room"
+ "yolo" = "yolo"
...
When environment variables are also set in the os environment:
terraform environment config has no effect: