plan_only does not generate new resource version
Closed this issue · 2 comments
Hi,
behavior
we are using a Terraform plan
followed by a Terraform apply
. apply
should be triggered by the plan
:
- get: tfstate
passed:
- terraform-plan
but it's not the case. Following concourse documentation
[...] If [trigger] set to true, new builds of the job will be automatically created when a new version for this input becomes available.
plan_only
does not generate a new version of the output since it does not generate a serial
number like the plan_run
.
expected
apply
job should should be triggered automatically after the plan
job
version
repository: ljfranklin/terraform-resource
tag: 0.12.17
Good catch, looks like a bug. This commit should address the problem by adding a plan_checksum
field to the version. This change is now present on the ljfranklin/terraform-resource:latest
and ljfranklin/terraform-resource:0.12.24
images. Please let me know if that fixes the issue on your end.
Hi @ljfranklin, it works as expected on 0.12.24. Thanks for your reactivity, have a good week.