Can `data` sources have `environment` variables also?
Closed this issue · 0 comments
justinmchase commented
Such as:
data "shell_script" "user" {
lifecycle_commands {
read = <<-EOF
echo "{\"user\": \"$NAME\"}"
EOF
}
environment {
NAME = "justin"
}
}