diff --git a/modules/cross_account_principal_association/versions.tf b/modules/cross_account_principal_association/versions.tf index c3c64f9..f1657a4 100644 --- a/modules/cross_account_principal_association/versions.tf +++ b/modules/cross_account_principal_association/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.37.0" configuration_aliases = [aws.owner] } } diff --git a/modules/principal_association/main.tf b/modules/principal_association/main.tf index 72d14c5..b5bdfbe 100644 --- a/modules/principal_association/main.tf +++ b/modules/principal_association/main.tf @@ -1,9 +1,4 @@ resource "aws_ram_principal_association" "this" { principal = var.principal resource_share_arn = var.resource_share_arn - - # The invitation sometime takes a few seconds to propagate - provisioner "local-exec" { - command = "python -c 'import time; time.sleep(10)'" - } } diff --git a/modules/principal_association/versions.tf b/modules/principal_association/versions.tf index 34260e6..d280ead 100644 --- a/modules/principal_association/versions.tf +++ b/modules/principal_association/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.37.0" } } } diff --git a/modules/resource_association/versions.tf b/modules/resource_association/versions.tf index 34260e6..d280ead 100644 --- a/modules/resource_association/versions.tf +++ b/modules/resource_association/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.37.0" } } } diff --git a/modules/share_accepter/versions.tf b/modules/share_accepter/versions.tf index 34260e6..d280ead 100644 --- a/modules/share_accepter/versions.tf +++ b/modules/share_accepter/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.37.0" } } } diff --git a/versions.tf b/versions.tf index 34260e6..d280ead 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 5.37.0" } } }