-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Terraform v0.12 disables module-depth option for all operations except graph (as of 0.v12-alpha3):
hashicorp/terraform@178ec8f#diff-aa88524f69c6514b7d5568e0b5e03bad
Expected Behaviour
- Install Python
pip install https://github.com/adobe/ops-cli/releases/download/0.30/ops-0.30-py2-none-any.whlbrew install terraform# CURRENT VERSION v0.12ops environment/path.yaml terraform plan- Generate a valid plan file.
Actual Behaviour
Terraform dumps usage.
Reproduce Scenario (including but not limited to)
Have Terraform v0.12 installed.
Steps to Reproduce
-
Install Python
-
pip install https://github.com/adobe/ops-cli/releases/download/0.30/ops-0.30-py2-none-any.whl -
brew install terraform# CURRENT VERSION v0.12 -
git clone https://github.com/adobe/ops-cli.git -
`cd
-
ops environment/sample-cluster.yaml terraform plan -
Generate a valid plan file.
Platform and Version
MacOS 10.14.5
Terraform Version: v0.12.2 (or >v0.12-alpha3)
OPS-CLI Version: v0.30
Sample Code that illustrates the problem
Any valid operational config.
Logs taken while reproducing problem
cd ${HOME}/terraform && terraform get -update && terraform init && terraform refresh -input=false -var 'cluster=aaron-kulick-dev' -state=terraform.aaron-kulick-dev.tfstate && terraform plan -out=terraform.aaron-kulick-dev.plan -refresh=false -module-depth=1 -input=false -var 'cluster=aaron-kulick-dev' -state=terraform.aaron-kulick-dev.tfstate
N/A - c.f. CLI execution as debug output.
Metadata
Metadata
Assignees
Labels
No labels