You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're running Atlantis 0.4.12 and we're no longer able to run targeted atlantis apply.
Given this plan:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ aws_s3_bucket.foo
versioning.0.enabled: "false" => "true"
~ aws_s3_bucket.bar
versioning.0.enabled: "false" => "true"
Plan: 0 to add, 2 to change, 0 to destroy.
Hi, with Atlantis -target only works when specified on the atlantis plan command. This is because we generate a planfile with -out and then run terraform apply {planfile}. Terraform ignores the -target flag in this case.
We should really just give you an error if you're using -target with apply.
I don't think this was working previously because I don't think this ever worked with Terraform. Maybe you were using it with atlantis plan before?
-target doesn't work with terraform apply when the apply is being run on
a planfile (which is how Atlantis runs plan). We should give the user an
error if they attempt this.
Fixes#399
We're running Atlantis 0.4.12 and we're no longer able to run targeted
atlantis apply
.Given this plan:
and this comment:
this is the output:
Are we doing something wrong? This syntax used to work recently.
The text was updated successfully, but these errors were encountered: