Skip to content

Commit

Permalink
Removes sleep due to inability to reproduce error in recent aws provi…
Browse files Browse the repository at this point in the history
…der versions
  • Loading branch information
lorengordon committed Nov 10, 2024
1 parent c20cf23 commit 6a23568
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion modules/cross_account_principal_association/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 5.37.0"
configuration_aliases = [aws.owner]
}
}
Expand Down
5 changes: 0 additions & 5 deletions modules/principal_association/main.tf
Original file line number Diff line number Diff line change
@@ -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)'"
}
}
2 changes: 1 addition & 1 deletion modules/principal_association/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 5.37.0"
}
}
}
2 changes: 1 addition & 1 deletion modules/resource_association/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 5.37.0"
}
}
}
2 changes: 1 addition & 1 deletion modules/share_accepter/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 5.37.0"
}
}
}
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 5.37.0"
}
}
}

0 comments on commit 6a23568

Please sign in to comment.