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
The Terraform Options struct includes the option to disable upgrading during terraform init, but even if this is set to false, an upgrade still occurs due to terraform get -upgrade always being called during InitAndPlanE:
The Terraform Options struct includes the option to disable upgrading during
terraform init
, but even if this is set to false, an upgrade still occurs due toterraform get -upgrade
always being called duringInitAndPlanE
:InitAndPlanE
calls bothInitE
andGetE
:terratest/modules/terraform/plan.go
Lines 19 to 29 in adca4a8
GetE
is set to always callterraform get -update
which forces an update:terratest/modules/terraform/get.go
Lines 17 to 19 in adca4a8
The expected behavior is if
Upgrade
is set to false or not set, no upgrade should be run by eitherinit
orget
.The text was updated successfully, but these errors were encountered: