Repository: chanzuckerberg/fogg
Pull request #503 (2020-11-10 21:43:37)

[breaking] update hardcoded providers
We hard-code the versions of all these "utility" providers, since users
usually don't bother to specify their versions. Time for a version
upgrade.

### Test Plan

* testing manually

### References


Patch:
diff --git a/templates/common/common_providers.tmpl b/templates/common/common_providers.tmpl
index c379d145..dde66c0f 100644
--- a/templates/common/common_providers.tmpl
+++ b/templates/common/common_providers.tmpl
@@ -4,22 +4,22 @@ provider random {
 }
 
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 {{- end }}


Test patch:
diff --git a/testdata/bless_provider_yaml/terraform/accounts/foo/fogg.tf b/testdata/bless_provider_yaml/terraform/accounts/foo/fogg.tf
index 78f940a5..3e71044c 100644
--- a/testdata/bless_provider_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/bless_provider_yaml/terraform/accounts/foo/fogg.tf
@@ -83,17 +83,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/bless_provider_yaml/terraform/envs/bar/bam/fogg.tf b/testdata/bless_provider_yaml/terraform/envs/bar/bam/fogg.tf
index 6a5bed5e..feee987b 100644
--- a/testdata/bless_provider_yaml/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/bless_provider_yaml/terraform/envs/bar/bam/fogg.tf
@@ -103,17 +103,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/bless_provider_yaml/terraform/global/fogg.tf b/testdata/bless_provider_yaml/terraform/global/fogg.tf
index 50cc28b3..41ffb33c 100644
--- a/testdata/bless_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/bless_provider_yaml/terraform/global/fogg.tf
@@ -65,17 +65,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/circleci/terraform/global/fogg.tf b/testdata/circleci/terraform/global/fogg.tf
index 540c57ec..4e12bfc9 100644
--- a/testdata/circleci/terraform/global/fogg.tf
+++ b/testdata/circleci/terraform/global/fogg.tf
@@ -45,17 +45,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/github_actions/terraform/global/fogg.tf b/testdata/github_actions/terraform/global/fogg.tf
index 540c57ec..4e12bfc9 100644
--- a/testdata/github_actions/terraform/global/fogg.tf
+++ b/testdata/github_actions/terraform/global/fogg.tf
@@ -45,17 +45,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/github_provider_yaml/terraform/accounts/foo/fogg.tf b/testdata/github_provider_yaml/terraform/accounts/foo/fogg.tf
index 5f2671bf..bac601e7 100644
--- a/testdata/github_provider_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/github_provider_yaml/terraform/accounts/foo/fogg.tf
@@ -68,17 +68,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/github_provider_yaml/terraform/envs/bar/bam/fogg.tf b/testdata/github_provider_yaml/terraform/envs/bar/bam/fogg.tf
index 679fb5eb..76199a97 100644
--- a/testdata/github_provider_yaml/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/github_provider_yaml/terraform/envs/bar/bam/fogg.tf
@@ -88,17 +88,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/github_provider_yaml/terraform/global/fogg.tf b/testdata/github_provider_yaml/terraform/global/fogg.tf
index 45d5b319..abbdebff 100644
--- a/testdata/github_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/github_provider_yaml/terraform/global/fogg.tf
@@ -50,17 +50,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/okta_provider_yaml/terraform/accounts/foo/fogg.tf b/testdata/okta_provider_yaml/terraform/accounts/foo/fogg.tf
index 8ce17f46..bfc2d17e 100644
--- a/testdata/okta_provider_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/okta_provider_yaml/terraform/accounts/foo/fogg.tf
@@ -70,17 +70,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/okta_provider_yaml/terraform/envs/bar/bam/fogg.tf b/testdata/okta_provider_yaml/terraform/envs/bar/bam/fogg.tf
index d117787b..991ae7f4 100644
--- a/testdata/okta_provider_yaml/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/okta_provider_yaml/terraform/envs/bar/bam/fogg.tf
@@ -90,17 +90,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/okta_provider_yaml/terraform/global/fogg.tf b/testdata/okta_provider_yaml/terraform/global/fogg.tf
index 746dc33a..74c92835 100644
--- a/testdata/okta_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/okta_provider_yaml/terraform/global/fogg.tf
@@ -52,17 +52,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/snowflake_provider_yaml/terraform/accounts/foo/fogg.tf b/testdata/snowflake_provider_yaml/terraform/accounts/foo/fogg.tf
index a3328295..f4850454 100644
--- a/testdata/snowflake_provider_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/snowflake_provider_yaml/terraform/accounts/foo/fogg.tf
@@ -69,17 +69,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/fogg.tf b/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/fogg.tf
index 9cd3264b..2589ccb7 100644
--- a/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/snowflake_provider_yaml/terraform/envs/bar/bam/fogg.tf
@@ -89,17 +89,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/snowflake_provider_yaml/terraform/global/fogg.tf b/testdata/snowflake_provider_yaml/terraform/global/fogg.tf
index 4bc10e6b..f2cd55aa 100644
--- a/testdata/snowflake_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/snowflake_provider_yaml/terraform/global/fogg.tf
@@ -51,17 +51,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/tfe_provider_yaml/terraform/accounts/foo/fogg.tf b/testdata/tfe_provider_yaml/terraform/accounts/foo/fogg.tf
index 8e3ca1d0..5d6c71c7 100644
--- a/testdata/tfe_provider_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/tfe_provider_yaml/terraform/accounts/foo/fogg.tf
@@ -67,17 +67,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/tfe_provider_yaml/terraform/envs/bar/bam/fogg.tf b/testdata/tfe_provider_yaml/terraform/envs/bar/bam/fogg.tf
index dff73481..cb5b4afe 100644
--- a/testdata/tfe_provider_yaml/terraform/envs/bar/bam/fogg.tf
+++ b/testdata/tfe_provider_yaml/terraform/envs/bar/bam/fogg.tf
@@ -83,17 +83,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/tfe_provider_yaml/terraform/global/fogg.tf b/testdata/tfe_provider_yaml/terraform/global/fogg.tf
index 976c289d..89d4ddbf 100644
--- a/testdata/tfe_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/tfe_provider_yaml/terraform/global/fogg.tf
@@ -49,17 +49,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/accounts/bar/fogg.tf b/testdata/v2_full_yaml/terraform/accounts/bar/fogg.tf
index 2944c5f8..7c8c12c8 100644
--- a/testdata/v2_full_yaml/terraform/accounts/bar/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/accounts/bar/fogg.tf
@@ -139,17 +139,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/accounts/foo/fogg.tf b/testdata/v2_full_yaml/terraform/accounts/foo/fogg.tf
index a2a6c17b..bfe59ee0 100644
--- a/testdata/v2_full_yaml/terraform/accounts/foo/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/accounts/foo/fogg.tf
@@ -97,17 +97,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/prod/datadog/fogg.tf b/testdata/v2_full_yaml/terraform/envs/prod/datadog/fogg.tf
index 48a10af3..4e95246a 100644
--- a/testdata/v2_full_yaml/terraform/envs/prod/datadog/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/prod/datadog/fogg.tf
@@ -128,17 +128,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/prod/hero/fogg.tf b/testdata/v2_full_yaml/terraform/envs/prod/hero/fogg.tf
index 375774ee..ed428126 100644
--- a/testdata/v2_full_yaml/terraform/envs/prod/hero/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/prod/hero/fogg.tf
@@ -100,17 +100,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/prod/vpc/fogg.tf b/testdata/v2_full_yaml/terraform/envs/prod/vpc/fogg.tf
index c7d14541..ecabf810 100644
--- a/testdata/v2_full_yaml/terraform/envs/prod/vpc/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/prod/vpc/fogg.tf
@@ -153,17 +153,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/staging/comp1/fogg.tf b/testdata/v2_full_yaml/terraform/envs/staging/comp1/fogg.tf
index ac9e2472..4725c2cb 100644
--- a/testdata/v2_full_yaml/terraform/envs/staging/comp1/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/staging/comp1/fogg.tf
@@ -153,17 +153,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/staging/comp2/fogg.tf b/testdata/v2_full_yaml/terraform/envs/staging/comp2/fogg.tf
index 893d63ce..d50a7788 100644
--- a/testdata/v2_full_yaml/terraform/envs/staging/comp2/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/staging/comp2/fogg.tf
@@ -153,17 +153,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/envs/staging/vpc/fogg.tf b/testdata/v2_full_yaml/terraform/envs/staging/vpc/fogg.tf
index eb884686..799ae0b3 100644
--- a/testdata/v2_full_yaml/terraform/envs/staging/vpc/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/envs/staging/vpc/fogg.tf
@@ -153,17 +153,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_full_yaml/terraform/global/fogg.tf b/testdata/v2_full_yaml/terraform/global/fogg.tf
index 5b46dce6..7579d0da 100644
--- a/testdata/v2_full_yaml/terraform/global/fogg.tf
+++ b/testdata/v2_full_yaml/terraform/global/fogg.tf
@@ -67,17 +67,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_minimal_valid_yaml/terraform/global/fogg.tf b/testdata/v2_minimal_valid_yaml/terraform/global/fogg.tf
index 540c57ec..4e12bfc9 100644
--- a/testdata/v2_minimal_valid_yaml/terraform/global/fogg.tf
+++ b/testdata/v2_minimal_valid_yaml/terraform/global/fogg.tf
@@ -45,17 +45,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/fogg.tf b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/fogg.tf
index aedfc896..ecd8adf0 100644
--- a/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/fogg.tf
+++ b/testdata/v2_no_aws_provider_yaml/terraform/envs/staging/vpc/fogg.tf
@@ -71,17 +71,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
diff --git a/testdata/v2_no_aws_provider_yaml/terraform/global/fogg.tf b/testdata/v2_no_aws_provider_yaml/terraform/global/fogg.tf
index 8e12b158..08fa3d7d 100644
--- a/testdata/v2_no_aws_provider_yaml/terraform/global/fogg.tf
+++ b/testdata/v2_no_aws_provider_yaml/terraform/global/fogg.tf
@@ -49,17 +49,17 @@ provider random {
   version = "~> 2.2"
 }
 provider template {
-  version = "~> 2.1"
+  version = "~> 2.2"
 }
 provider archive {
-  version = "~> 1.3"
+  version = "~> 2.0"
 }
 provider null {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }
 provider local {
-  version = "~> 1.4"
+  version = "~> 2.0"
 }
 provider tls {
-  version = "~> 2.1"
+  version = "~> 3.0"
 }