Closed ghost closed 3 years ago
ā¹ļø INFO
I just noticed a space before parallelism
argument! Removed that and ran command directly again:
terraform plan -var-file /tf/caf/configuration/demo/level0/launchpad/configuration.tfvars \
-var-file /tf/caf/configuration/demo/level0/launchpad/dynamic_secrets.tfvars \
-var-file /tf/caf/configuration/demo/level0/launchpad/iam_role_mapping.tfvars \
-var-file /tf/caf/configuration/demo/level0/launchpad/keyvaults.tfvars \
-var-file /tf/caf/configuration/demo/level0/launchpad/storage_accounts.tfvars \
-parallelism 30
New error:
Am I running this in the wrong directory? I didn't see a change directory, so assumed I would run it from root of project.
Ok, I figured it out, sorry for the noise. I had a space in the rover CLI (which I should have noticed when I saw the space in the output terraform plan execution arguments):
rover -lz /tf/caf/landingzones/caf_launchpad \
-launchpad \
-var-folder /tf/caf/configuration/${environment}/level0/launchpad \
- parallelism 30 \
-level level0 \
-env ${caf_environment} \
-a plan
Also, the direct execution required me to be in the /tf/caf/landingzones/caf_launchpad
directory, so figured that out, too. Closing this issue myself.
Describe the bug after running the following, receive an error, seemingly from Terraform itself, that suggests rover is building a CLI that has too many arguments for the
terraform plan
command.ā ļø NOTE: I am not modifying the configuration for launchpad. Simply trying to get a foundational understanding of the ecosystem and tooling.
To Reproduce
caf-terraform-landingzones-starter
demoExpected behavior Expected this step to run clean and without issue so that I could move on to step 2 š
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context I am sure this is going to end up being something simple, š, please forgive the ignorance! FWIW, I attempted to run the following directly and got the same error: