From 49e8c73cab78ca62afab0d4f654f5a518324ce1c Mon Sep 17 00:00:00 2001 From: jgournet Date: Mon, 9 Jan 2023 14:49:24 +1100 Subject: [PATCH 1/3] remove deprecated command --- _global/_global_providers.tf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_global/_global_providers.tf b/_global/_global_providers.tf index 43db977..8777f8c 100644 --- a/_global/_global_providers.tf +++ b/_global/_global_providers.tf @@ -8,6 +8,9 @@ provider "aws" { allowed_account_ids = var.aws_allowed_account_ids - # Make it faster by skipping something - skip_get_ec2_platforms = true + # Make it faster by skipping something: https://medium.com/@anton.babenko/make-terraform-faster-skip-unnecessary-checks-aws-and-s3-3ab00df9c3a9 + #skip_get_ec2_platforms = true # deprecated + skip_metadata_api_check = true + skip_region_validation = true + skip_credentials_validation = true } From 43903e06e2427ed23f06cf68b353579d4893622f Mon Sep 17 00:00:00 2001 From: jgournet Date: Mon, 9 Jan 2023 14:55:38 +1100 Subject: [PATCH 2/3] remove deprecated command --- _global/README.md | 2 +- _global/_global_providers.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_global/README.md b/_global/README.md index 7572a04..1c79c4d 100644 --- a/_global/README.md +++ b/_global/README.md @@ -10,7 +10,7 @@ terraform { after_hook "copy_global_providers" { commands = ["init-from-module"] - execute = ["wget", "-qN", "https://raw.githubusercontent.com/BGLCorp/terraform-modules-public/v0.0.5/_global/_global_providers.tf"] + execute = ["wget", "-qN", "https://raw.githubusercontent.com/jgournet/terraform-modules-public/master/_global/_global_providers.tf"] } ... diff --git a/_global/_global_providers.tf b/_global/_global_providers.tf index 8777f8c..b3c5cf2 100644 --- a/_global/_global_providers.tf +++ b/_global/_global_providers.tf @@ -10,7 +10,7 @@ provider "aws" { # Make it faster by skipping something: https://medium.com/@anton.babenko/make-terraform-faster-skip-unnecessary-checks-aws-and-s3-3ab00df9c3a9 #skip_get_ec2_platforms = true # deprecated - skip_metadata_api_check = true - skip_region_validation = true - skip_credentials_validation = true + #skip_metadata_api_check = true # not tested + #skip_region_validation = true # not tested + #skip_credentials_validation = true # not tested } From 0b842162bfc30c6dc8cd023d60891a1ede5dc896 Mon Sep 17 00:00:00 2001 From: jgournet Date: Mon, 9 Jan 2023 14:56:19 +1100 Subject: [PATCH 3/3] remove deprecated command --- _global/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_global/README.md b/_global/README.md index 1c79c4d..7572a04 100644 --- a/_global/README.md +++ b/_global/README.md @@ -10,7 +10,7 @@ terraform { after_hook "copy_global_providers" { commands = ["init-from-module"] - execute = ["wget", "-qN", "https://raw.githubusercontent.com/jgournet/terraform-modules-public/master/_global/_global_providers.tf"] + execute = ["wget", "-qN", "https://raw.githubusercontent.com/BGLCorp/terraform-modules-public/v0.0.5/_global/_global_providers.tf"] } ...