From 3ee9104b219597c6f60172b9ddf3bb3f07dfdf28 Mon Sep 17 00:00:00 2001 From: Pat Myron Date: Thu, 23 Apr 2020 09:09:28 -0700 Subject: [PATCH] af-south-1 (Cape Town) https://github.com/terraform-providers/terraform-provider-aws/blob/master/.github/CONTRIBUTING.md#new-region --- aws/data_source_aws_cloudtrail_service_account.go | 1 + aws/data_source_aws_elastic_beanstalk_hosted_zone.go | 1 + aws/data_source_aws_elb_hosted_zone_id.go | 1 + aws/data_source_aws_elb_service_account.go | 1 + aws/data_source_aws_redshift_service_account.go | 1 + aws/hosted_zones.go | 1 + 6 files changed, 6 insertions(+) diff --git a/aws/data_source_aws_cloudtrail_service_account.go b/aws/data_source_aws_cloudtrail_service_account.go index 6358368fcd6..4a5c408149c 100644 --- a/aws/data_source_aws_cloudtrail_service_account.go +++ b/aws/data_source_aws_cloudtrail_service_account.go @@ -11,6 +11,7 @@ import ( // See https://docs.aws.amazon.com/govcloud-us/latest/ug-east/verifying-cloudtrail.html // See https://docs.aws.amazon.com/govcloud-us/latest/ug-west/verifying-cloudtrail.html var cloudTrailServiceAccountPerRegionMap = map[string]string{ + "af-south-1": "525921808201", "ap-east-1": "119688915426", "ap-northeast-1": "216624486486", "ap-northeast-2": "492519147666", diff --git a/aws/data_source_aws_elastic_beanstalk_hosted_zone.go b/aws/data_source_aws_elastic_beanstalk_hosted_zone.go index 9532043f18e..82801f00e91 100644 --- a/aws/data_source_aws_elastic_beanstalk_hosted_zone.go +++ b/aws/data_source_aws_elastic_beanstalk_hosted_zone.go @@ -8,6 +8,7 @@ import ( // See http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region var elasticBeanstalkHostedZoneIds = map[string]string{ + "af-south-1": "Z1EI3BVKMKK4AM", "ap-southeast-1": "Z16FZ9L249IFLT", "ap-southeast-2": "Z2PCDNR3VC2G1N", "ap-east-1": "ZPWYUBWRU171A", diff --git a/aws/data_source_aws_elb_hosted_zone_id.go b/aws/data_source_aws_elb_hosted_zone_id.go index 9c88dae928b..c28b3f81e71 100644 --- a/aws/data_source_aws_elb_hosted_zone_id.go +++ b/aws/data_source_aws_elb_hosted_zone_id.go @@ -9,6 +9,7 @@ import ( // See http://docs.aws.amazon.com/general/latest/gr/rande.html#elb_region // See https://docs.amazonaws.cn/en_us/general/latest/gr/rande.html#elb_region var elbHostedZoneIdPerRegionMap = map[string]string{ + "af-south-1": "Z268VQBMOI5EKX", "ap-east-1": "Z3DQVH9N71FHZ0", "ap-northeast-1": "Z14GRHDCWA56QT", "ap-northeast-2": "ZWKZPGTI48KDX", diff --git a/aws/data_source_aws_elb_service_account.go b/aws/data_source_aws_elb_service_account.go index e17424cda6b..82515bd49fa 100644 --- a/aws/data_source_aws_elb_service_account.go +++ b/aws/data_source_aws_elb_service_account.go @@ -9,6 +9,7 @@ import ( // See http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html#attach-bucket-policy var elbAccountIdPerRegionMap = map[string]string{ + "af-south-1": "098369216593", "ap-east-1": "754344448648", "ap-northeast-1": "582318560864", "ap-northeast-2": "600734575887", diff --git a/aws/data_source_aws_redshift_service_account.go b/aws/data_source_aws_redshift_service_account.go index 6fa61225d61..fd525d72df7 100644 --- a/aws/data_source_aws_redshift_service_account.go +++ b/aws/data_source_aws_redshift_service_account.go @@ -15,6 +15,7 @@ var redshiftServiceAccountPerRegionMap = map[string]string{ "us-east-2": "391106570357", "us-west-1": "262260360010", "us-west-2": "902366379725", + "af-south-1": "365689465814", "ap-east-1": "313564881002", "ap-south-1": "865932855811", "ap-northeast-3": "090321488786", diff --git a/aws/hosted_zones.go b/aws/hosted_zones.go index bb50d2381b8..96cbb2154d6 100644 --- a/aws/hosted_zones.go +++ b/aws/hosted_zones.go @@ -9,6 +9,7 @@ import "fmt" // See https://docs.aws.amazon.com/pt_br/govcloud-us/latest/ug-east/using-govcloud-endpoints.html // See https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-endpoints.html var hostedZoneIDsMap = map[string]string{ + "af-south-1": "Z11KHD8FBVPUYU", "ap-east-1": "ZNB98KWMFR0R6", "ap-northeast-1": "Z2M4EHUR26P7ZW", "ap-northeast-2": "Z3W03O7B5YMIYP",