diff --git a/examples/backend/versions.tf b/examples/backend/versions.tf index 0bef96d..65f4e8a 100644 --- a/examples/backend/versions.tf +++ b/examples/backend/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index a8a7810..133358d 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/examples/remote-state/versions.tf b/examples/remote-state/versions.tf index a8a7810..133358d 100644 --- a/examples/remote-state/versions.tf +++ b/examples/remote-state/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/examples/spacelift/versions.tf b/examples/spacelift/versions.tf index 0bef96d..65f4e8a 100644 --- a/examples/spacelift/versions.tf +++ b/examples/spacelift/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/examples/stack/versions.tf b/examples/stack/versions.tf index 0bef96d..65f4e8a 100644 --- a/examples/stack/versions.tf +++ b/examples/stack/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/examples/stacks/versions.tf b/examples/stacks/versions.tf index 0bef96d..65f4e8a 100644 --- a/examples/stacks/versions.tf +++ b/examples/stacks/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.8.0" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/backend/versions.tf b/modules/backend/versions.tf index ea03a6c..65f4e8a 100644 --- a/modules/backend/versions.tf +++ b/modules/backend/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/env/versions.tf b/modules/env/versions.tf index ea03a6c..65f4e8a 100644 --- a/modules/env/versions.tf +++ b/modules/env/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/remote-state/versions.tf b/modules/remote-state/versions.tf index e429959..133358d 100644 --- a/modules/remote-state/versions.tf +++ b/modules/remote-state/versions.tf @@ -11,11 +11,8 @@ terraform { version = ">= 2.0" } utils = { - source = "cloudposse/utils" - # We were previously pinning this to <=1.8.0, but changing this each time we had a new version was a pain. As - # a compromise, we'll pin to a minimum version, but allow any patch version below 2.0.0 and we will make sure - # that if we make any major/breaking changes in cloudposse/utils, we'll increment to 2.0.0. - version = ">= 1.7.1, < 2.0.0" + source = "cloudposse/utils" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/settings/versions.tf b/modules/settings/versions.tf index ea03a6c..65f4e8a 100644 --- a/modules/settings/versions.tf +++ b/modules/settings/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/spacelift/versions.tf b/modules/spacelift/versions.tf index ea03a6c..65f4e8a 100644 --- a/modules/spacelift/versions.tf +++ b/modules/spacelift/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/modules/vars/versions.tf b/modules/vars/versions.tf index ea03a6c..65f4e8a 100644 --- a/modules/vars/versions.tf +++ b/modules/vars/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } } diff --git a/versions.tf b/versions.tf index ea03a6c..65f4e8a 100644 --- a/versions.tf +++ b/versions.tf @@ -12,7 +12,7 @@ terraform { } utils = { source = "cloudposse/utils" - version = ">= 1.7.1" + version = ">= 2.0.0, < 3.0.0" } } }