From d2332682793bbba4127beaf786a6ca20af629039 Mon Sep 17 00:00:00 2001 From: Liam MacPherson Date: Mon, 11 Mar 2024 12:46:17 +0000 Subject: [PATCH] build: change required provider version The old version meant callees had to adhere to the provider version causing issues. This change allows the modules to accept everything upstream that is within the major version 5; following best practices by Terraform. --- modules/aws/group_account_assignments/main.tf | 2 +- modules/aws/group_user_memberships/main.tf | 2 +- modules/aws/groups/main.tf | 2 +- modules/aws/ssoadmin_instance/main.tf | 2 +- modules/aws/users/main.tf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/aws/group_account_assignments/main.tf b/modules/aws/group_account_assignments/main.tf index dd04725..f8e5a56 100644 --- a/modules/aws/group_account_assignments/main.tf +++ b/modules/aws/group_account_assignments/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.40.0" + version = ">= 5.0.0, < 6.0.0" } } } diff --git a/modules/aws/group_user_memberships/main.tf b/modules/aws/group_user_memberships/main.tf index 8e019d8..0094898 100644 --- a/modules/aws/group_user_memberships/main.tf +++ b/modules/aws/group_user_memberships/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.40.0" + version = ">= 5.0.0, < 6.0.0" } } } diff --git a/modules/aws/groups/main.tf b/modules/aws/groups/main.tf index cec29c6..3a19ab2 100644 --- a/modules/aws/groups/main.tf +++ b/modules/aws/groups/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.40.0" + version = ">= 5.0.0, < 6.0.0" } } } diff --git a/modules/aws/ssoadmin_instance/main.tf b/modules/aws/ssoadmin_instance/main.tf index d5c52f2..3948cdf 100644 --- a/modules/aws/ssoadmin_instance/main.tf +++ b/modules/aws/ssoadmin_instance/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.40.0" + version = ">= 5.0.0, < 6.0.0" } } } diff --git a/modules/aws/users/main.tf b/modules/aws/users/main.tf index 95729d8..753d45b 100644 --- a/modules/aws/users/main.tf +++ b/modules/aws/users/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.40.0" + version = ">= 5.0.0, < 6.0.0" } } }