So- when I'm trying to pass additional arguments to terraform call after --, those arguments aren't being propagated to any terraform call.
Example invocation:
bash -x ./bin/terraform.sh --action plan --project XXX --environment XXX --component XXX --bucket-prefix XXX --region eu-west-1 -- -var journal_sha256sum=wRFZ/rvP3I8H4what3v3r9/qSmD2b1kZRQ=
invocation of terraform plan later in the script:
terraform plan -input=false -refresh=true -module-depth=-1 -var region=eu-west-1 -var project=XXX -var bucket_name=XXX -var aws_account_id=XXX -var-file=../../etc/env_eu-west-1_XXX.tfvars
So- when I'm trying to pass additional arguments to terraform call after
--, those arguments aren't being propagated to any terraform call.Example invocation:
invocation of
terraform planlater in the script: