diff --git a/pkg/config/resources/terraform/provider_test.go b/pkg/config/resources/terraform/provider_test.go index 75cf449d..50e9516d 100644 --- a/pkg/config/resources/terraform/provider_test.go +++ b/pkg/config/resources/terraform/provider_test.go @@ -72,7 +72,7 @@ func TestCreatesTerraformContainerWithTheCorrectValues(t *testing.T) { ID: "Abc123", }, }, - Version: "1.16.2", + Version: "1.9.8", Source: "../../../../examples/terraform/workspace", } @@ -87,7 +87,7 @@ func TestCreatesTerraformContainerWithTheCorrectValues(t *testing.T) { require.Equal(t, c.Environment["TF_PLUGIN_CACHE_DIR"], "/var/lib/terraform.d") // check the correct image is used - require.Equal(t, c.Image.Name, "hashicorp/terraform:1.16.2") + require.Equal(t, c.Image.Name, "hashicorp/terraform:1.9.8") // check the networks have been added require.Equal(t, c.Networks[0].ID, "Abc123") diff --git a/pkg/config/resources/terraform/resource.go b/pkg/config/resources/terraform/resource.go index 4e5c7dbf..982020b1 100644 --- a/pkg/config/resources/terraform/resource.go +++ b/pkg/config/resources/terraform/resource.go @@ -58,7 +58,7 @@ func (t *Terraform) Process() error { // set the base version if t.Version == "" { - t.Version = "1.16.2" + t.Version = "1.9.8" } // restore the applyoutput from the state