jmccann / drone-terraform

Drone plugin for triggering Terraform deployments
http://plugins.drone.io/jmccann/terraform/
Apache License 2.0
86 stars 93 forks source link

Fix for handling targets #134

Open jfairchild opened 3 years ago

jfairchild commented 3 years ago

The targets yaml list was being processed as: terraform plan --target aws_s3_bucket.test --target module.foo.bar

The correct usage is: terraform plan -target=aws_s3_bucket.test -target=module.foo.bar

https://www.terraform.io/docs/cli/commands/plan.html#resource-targeting