From cda55ac8bda399c628ac459370a91c43154e547a Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:16:43 -0400 Subject: [PATCH 01/10] AWS Middle East (UAE) Region: ELB hosted zone IDs. --- internal/service/elb/hosted_zone_id_data_source.go | 1 + internal/service/elbv2/hosted_zone_id_data_source.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/internal/service/elb/hosted_zone_id_data_source.go b/internal/service/elb/hosted_zone_id_data_source.go index 733351a277a..2bb7e4adfe0 100644 --- a/internal/service/elb/hosted_zone_id_data_source.go +++ b/internal/service/elb/hosted_zone_id_data_source.go @@ -30,6 +30,7 @@ var HostedZoneIdPerRegionMap = map[string]string{ endpoints.EuWest1RegionID: "Z32O12XQLNTSW2", endpoints.EuWest2RegionID: "ZHURV8PSTC4K8", endpoints.EuWest3RegionID: "Z3Q77PNBQS71R4", + endpoints.MeCentral1RegionID: "Z08230872XQRWHG2XF6I", endpoints.MeSouth1RegionID: "ZS929ML54UICD", endpoints.SaEast1RegionID: "Z2P70J7HTTTPLU", endpoints.UsEast1RegionID: "Z35SXDOTRQ7X7K", diff --git a/internal/service/elbv2/hosted_zone_id_data_source.go b/internal/service/elbv2/hosted_zone_id_data_source.go index 9ac878c21c9..7e8e1809741 100644 --- a/internal/service/elbv2/hosted_zone_id_data_source.go +++ b/internal/service/elbv2/hosted_zone_id_data_source.go @@ -32,6 +32,7 @@ var HostedZoneIdPerRegionALBMap = map[string]string{ endpoints.EuWest1RegionID: "Z32O12XQLNTSW2", endpoints.EuWest2RegionID: "ZHURV8PSTC4K8", endpoints.EuWest3RegionID: "Z3Q77PNBQS71R4", + endpoints.MeCentral1RegionID: "Z08230872XQRWHG2XF6I", endpoints.MeSouth1RegionID: "ZS929ML54UICD", endpoints.SaEast1RegionID: "Z2P70J7HTTTPLU", endpoints.UsEast1RegionID: "Z35SXDOTRQ7X7K", @@ -63,6 +64,7 @@ var HostedZoneIdPerRegionNLBMap = map[string]string{ endpoints.EuWest1RegionID: "Z2IFOLAFXWLO4F", endpoints.EuWest2RegionID: "ZD4D7Y8KGAS4G", endpoints.EuWest3RegionID: "Z1CMS0P5QUZ6D5", + endpoints.MeCentral1RegionID: "Z00282643NTTLPANJJG2P", endpoints.MeSouth1RegionID: "Z3QSRYVP46NYYV", endpoints.SaEast1RegionID: "ZTK26PT1VY4CU", endpoints.UsEast1RegionID: "Z26RNL4JYFTOTI", From 0712ceb91f4d01634c2cd85e1865434b7316f016 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:18:51 -0400 Subject: [PATCH 02/10] AWS Middle East (UAE) Region: S3 website hosted zone ID. --- internal/service/s3/hosted_zones.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/service/s3/hosted_zones.go b/internal/service/s3/hosted_zones.go index ae78175c5f8..14ef74549d1 100644 --- a/internal/service/s3/hosted_zones.go +++ b/internal/service/s3/hosted_zones.go @@ -25,6 +25,7 @@ var hostedZoneIDsMap = map[string]string{ endpoints.EuWest1RegionID: "Z1BKCTXD74EZPE", endpoints.EuWest2RegionID: "Z3GKZC51ZF0DB4", endpoints.EuWest3RegionID: "Z3R1K369G5AVDG", + endpoints.MeCentral1RegionID: "Z06143092I8HRXZRUZROF", endpoints.MeSouth1RegionID: "Z1MPMWCPA7YB62", endpoints.SaEast1RegionID: "Z7KQH4QJS55SO", endpoints.UsEast1RegionID: "Z3AQBSTGFYJSTF", From cf5996b278727755196cd785f4e18f8a764001c7 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:20:27 -0400 Subject: [PATCH 03/10] AWS Middle East (UAE) Region: CloudTrail Account ID. --- internal/service/cloudtrail/service_account_data_source.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/service/cloudtrail/service_account_data_source.go b/internal/service/cloudtrail/service_account_data_source.go index 69dcdf0f784..cbf816eafe2 100644 --- a/internal/service/cloudtrail/service_account_data_source.go +++ b/internal/service/cloudtrail/service_account_data_source.go @@ -32,6 +32,7 @@ var ServiceAccountPerRegionMap = map[string]string{ endpoints.EuWest1RegionID: "859597730677", endpoints.EuWest2RegionID: "282025262664", endpoints.EuWest3RegionID: "262312530599", + endpoints.MeCentral1RegionID: "585772288577", endpoints.MeSouth1RegionID: "034638983726", endpoints.SaEast1RegionID: "814480443879", endpoints.UsEast1RegionID: "086441151436", From 6f2c59d71599a93b07417ab0d2ab8b6a1709261e Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:22:58 -0400 Subject: [PATCH 04/10] AWS Middle East (UAE) Region: ELB Account ID (not yet known). --- .../service/elb/service_account_data_source.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/internal/service/elb/service_account_data_source.go b/internal/service/elb/service_account_data_source.go index 2e4ffb80404..c7bddd3490d 100644 --- a/internal/service/elb/service_account_data_source.go +++ b/internal/service/elb/service_account_data_source.go @@ -31,14 +31,15 @@ var AccountIdPerRegionMap = map[string]string{ endpoints.EuWest1RegionID: "156460612806", endpoints.EuWest2RegionID: "652711504416", endpoints.EuWest3RegionID: "009996457667", - endpoints.MeSouth1RegionID: "076674570225", - endpoints.SaEast1RegionID: "507241528517", - endpoints.UsEast1RegionID: "127311923021", - endpoints.UsEast2RegionID: "033677994240", - endpoints.UsGovEast1RegionID: "190560391635", - endpoints.UsGovWest1RegionID: "048591011584", - endpoints.UsWest1RegionID: "027434742980", - endpoints.UsWest2RegionID: "797873946194", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "076674570225", + endpoints.SaEast1RegionID: "507241528517", + endpoints.UsEast1RegionID: "127311923021", + endpoints.UsEast2RegionID: "033677994240", + endpoints.UsGovEast1RegionID: "190560391635", + endpoints.UsGovWest1RegionID: "048591011584", + endpoints.UsWest1RegionID: "027434742980", + endpoints.UsWest2RegionID: "797873946194", } func DataSourceServiceAccount() *schema.Resource { From 24534bded525c829373eb7eb477fe627fdf60fdb Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:24:18 -0400 Subject: [PATCH 05/10] AWS Middle East (UAE) Region: Redshift Account ID (not yet known). --- .../redshift/service_account_data_source.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/internal/service/redshift/service_account_data_source.go b/internal/service/redshift/service_account_data_source.go index bdf73b77ae1..145f5ad679f 100644 --- a/internal/service/redshift/service_account_data_source.go +++ b/internal/service/redshift/service_account_data_source.go @@ -31,14 +31,15 @@ var ServiceAccountPerRegionMap = map[string]string{ endpoints.EuWest1RegionID: "210876761215", endpoints.EuWest2RegionID: "307160386991", endpoints.EuWest3RegionID: "915173422425", - endpoints.MeSouth1RegionID: "013126148197", - endpoints.SaEast1RegionID: "075028567923", - endpoints.UsEast1RegionID: "193672423079", - endpoints.UsEast2RegionID: "391106570357", - endpoints.UsGovEast1RegionID: "665727464434", - endpoints.UsGovWest1RegionID: "665727464434", - endpoints.UsWest1RegionID: "262260360010", - endpoints.UsWest2RegionID: "902366379725", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "013126148197", + endpoints.SaEast1RegionID: "075028567923", + endpoints.UsEast1RegionID: "193672423079", + endpoints.UsEast2RegionID: "391106570357", + endpoints.UsGovEast1RegionID: "665727464434", + endpoints.UsGovWest1RegionID: "665727464434", + endpoints.UsWest1RegionID: "262260360010", + endpoints.UsWest2RegionID: "902366379725", } func DataSourceServiceAccount() *schema.Resource { From efd988e4518d5e34ab20cd8cae3779ea483d0be1 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:26:09 -0400 Subject: [PATCH 06/10] AWS Middle East (UAE) Region: Elastic Beanstalk hosted zone ID (not yet known). --- .../elasticbeanstalk/hosted_zone_data_source.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/internal/service/elasticbeanstalk/hosted_zone_data_source.go b/internal/service/elasticbeanstalk/hosted_zone_data_source.go index d4a194b48c7..07e21e78f2f 100644 --- a/internal/service/elasticbeanstalk/hosted_zone_data_source.go +++ b/internal/service/elasticbeanstalk/hosted_zone_data_source.go @@ -26,14 +26,15 @@ var HostedZoneIDs = map[string]string{ endpoints.EuWest1RegionID: "Z2NYPWQ7DFZAZH", endpoints.EuWest2RegionID: "Z1GKAAAUGATPF1", endpoints.EuWest3RegionID: "Z5WN6GAYWG5OB", - endpoints.MeSouth1RegionID: "Z2BBTEKR2I36N2", - endpoints.SaEast1RegionID: "Z10X7K2B4QSOFV", - endpoints.UsEast1RegionID: "Z117KPS5GTRQ2G", - endpoints.UsEast2RegionID: "Z14LCN19Q5QHIC", - endpoints.UsWest1RegionID: "Z1LQECGX5PH1X", - endpoints.UsWest2RegionID: "Z38NKT9BP95V3O", - endpoints.UsGovEast1RegionID: "Z35TSARG0EJ4VU", - endpoints.UsGovWest1RegionID: "Z4KAURWC4UUUG", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "Z2BBTEKR2I36N2", + endpoints.SaEast1RegionID: "Z10X7K2B4QSOFV", + endpoints.UsEast1RegionID: "Z117KPS5GTRQ2G", + endpoints.UsEast2RegionID: "Z14LCN19Q5QHIC", + endpoints.UsWest1RegionID: "Z1LQECGX5PH1X", + endpoints.UsWest2RegionID: "Z38NKT9BP95V3O", + endpoints.UsGovEast1RegionID: "Z35TSARG0EJ4VU", + endpoints.UsGovWest1RegionID: "Z4KAURWC4UUUG", } func DataSourceHostedZone() *schema.Resource { From be92de3abbbee6c3b182822e66919547c5345332 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:29:33 -0400 Subject: [PATCH 07/10] AWS Middle East (UAE) Region: SafeMaker image IDs (not yet known). --- .../prebuilt_ecr_image_data_source.go | 103 ++++++++++-------- 1 file changed, 55 insertions(+), 48 deletions(-) diff --git a/internal/service/sagemaker/prebuilt_ecr_image_data_source.go b/internal/service/sagemaker/prebuilt_ecr_image_data_source.go index ce73e737301..0b85ecf4d99 100644 --- a/internal/service/sagemaker/prebuilt_ecr_image_data_source.go +++ b/internal/service/sagemaker/prebuilt_ecr_image_data_source.go @@ -100,13 +100,14 @@ var prebuiltECRImageIDByRegion_blazing = map[string]string{ endpoints.EuWest1RegionID: "685385470294", endpoints.EuWest2RegionID: "644912444149", endpoints.EuWest3RegionID: "749696950732", - endpoints.MeSouth1RegionID: "249704162688", - endpoints.SaEast1RegionID: "855470959533", - endpoints.UsEast1RegionID: "811284229777", - endpoints.UsEast2RegionID: "825641698319", - endpoints.UsGovWest1RegionID: "226302683700", - endpoints.UsWest1RegionID: "632365934929", - endpoints.UsWest2RegionID: "433757028032", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "249704162688", + endpoints.SaEast1RegionID: "855470959533", + endpoints.UsEast1RegionID: "811284229777", + endpoints.UsEast2RegionID: "825641698319", + endpoints.UsGovWest1RegionID: "226302683700", + endpoints.UsWest1RegionID: "632365934929", + endpoints.UsWest2RegionID: "433757028032", } // https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html @@ -128,13 +129,14 @@ var prebuiltECRImageIDByRegion_deepAR = map[string]string{ endpoints.EuWest1RegionID: "224300973850", endpoints.EuWest2RegionID: "644912444149", endpoints.EuWest3RegionID: "749696950732", - endpoints.MeSouth1RegionID: "249704162688", - endpoints.SaEast1RegionID: "855470959533", - endpoints.UsEast1RegionID: "522234722520", - endpoints.UsEast2RegionID: "566113047672", - endpoints.UsGovWest1RegionID: "226302683700", - endpoints.UsWest1RegionID: "632365934929", - endpoints.UsWest2RegionID: "156387875391", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "249704162688", + endpoints.SaEast1RegionID: "855470959533", + endpoints.UsEast1RegionID: "522234722520", + endpoints.UsEast2RegionID: "566113047672", + endpoints.UsGovWest1RegionID: "226302683700", + endpoints.UsWest1RegionID: "632365934929", + endpoints.UsWest2RegionID: "156387875391", } // https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html @@ -157,13 +159,14 @@ var PrebuiltECRImageIDByRegion_factorMachines = map[string]string{ endpoints.EuWest1RegionID: "438346466558", endpoints.EuWest2RegionID: "644912444149", endpoints.EuWest3RegionID: "749696950732", - endpoints.MeSouth1RegionID: "249704162688", - endpoints.SaEast1RegionID: "855470959533", - endpoints.UsEast1RegionID: "382416733822", - endpoints.UsEast2RegionID: "404615174143", - endpoints.UsGovWest1RegionID: "226302683700", - endpoints.UsWest1RegionID: "632365934929", - endpoints.UsWest2RegionID: "174872318107", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "249704162688", + endpoints.SaEast1RegionID: "855470959533", + endpoints.UsEast1RegionID: "382416733822", + endpoints.UsEast2RegionID: "404615174143", + endpoints.UsGovWest1RegionID: "226302683700", + endpoints.UsWest1RegionID: "632365934929", + endpoints.UsWest2RegionID: "174872318107", } // https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html @@ -205,13 +208,14 @@ var prebuiltECRImageIDByRegion_xgBoost = map[string]string{ endpoints.EuWest1RegionID: "141502667606", endpoints.EuWest2RegionID: "764974769150", endpoints.EuWest3RegionID: "659782779980", - endpoints.MeSouth1RegionID: "801668240914", - endpoints.SaEast1RegionID: "737474898029", - endpoints.UsEast1RegionID: "683313688378", - endpoints.UsEast2RegionID: "257758044811", - endpoints.UsGovWest1RegionID: "414596584902", - endpoints.UsWest1RegionID: "746614075791", - endpoints.UsWest2RegionID: "246618743249", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "801668240914", + endpoints.SaEast1RegionID: "737474898029", + endpoints.UsEast1RegionID: "683313688378", + endpoints.UsEast2RegionID: "257758044811", + endpoints.UsGovWest1RegionID: "414596584902", + endpoints.UsWest1RegionID: "746614075791", + endpoints.UsWest2RegionID: "246618743249", } // https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html @@ -234,13 +238,14 @@ var PrebuiltECRImageIDByRegion_sparkML = map[string]string{ endpoints.EuWest1RegionID: "141502667606", endpoints.EuWest2RegionID: "764974769150", endpoints.EuWest3RegionID: "659782779980", - endpoints.MeSouth1RegionID: "801668240914", - endpoints.SaEast1RegionID: "737474898029", - endpoints.UsEast1RegionID: "683313688378", - endpoints.UsEast2RegionID: "257758044811", - endpoints.UsGovWest1RegionID: "414596584902", - endpoints.UsWest1RegionID: "746614075791", - endpoints.UsWest2RegionID: "246618743249", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "801668240914", + endpoints.SaEast1RegionID: "737474898029", + endpoints.UsEast1RegionID: "683313688378", + endpoints.UsEast2RegionID: "257758044811", + endpoints.UsGovWest1RegionID: "414596584902", + endpoints.UsWest1RegionID: "746614075791", + endpoints.UsWest2RegionID: "246618743249", } // https://github.com/aws/deep-learning-containers/blob/master/available_images.md @@ -261,13 +266,14 @@ var prebuiltECRImageIDByRegion_deepLearning = map[string]string{ endpoints.EuWest1RegionID: "763104351884", endpoints.EuWest2RegionID: "763104351884", endpoints.EuWest3RegionID: "763104351884", - endpoints.MeSouth1RegionID: "217643126080", - endpoints.SaEast1RegionID: "763104351884", - endpoints.UsEast1RegionID: "763104351884", - endpoints.UsEast2RegionID: "763104351884", - endpoints.UsIsoEast1RegionID: "886529160074", - endpoints.UsWest1RegionID: "763104351884", - endpoints.UsWest2RegionID: "763104351884", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "217643126080", + endpoints.SaEast1RegionID: "763104351884", + endpoints.UsEast1RegionID: "763104351884", + endpoints.UsEast2RegionID: "763104351884", + endpoints.UsIsoEast1RegionID: "886529160074", + endpoints.UsWest1RegionID: "763104351884", + endpoints.UsWest2RegionID: "763104351884", } // https://github.com/aws/sagemaker-tensorflow-serving-container @@ -287,12 +293,13 @@ var prebuiltECRImageIDByRegion_tensorFlowServing = map[string]string{ endpoints.EuWest1RegionID: "520713654638", endpoints.EuWest2RegionID: "520713654638", endpoints.EuWest3RegionID: "520713654638", - endpoints.MeSouth1RegionID: "724002660598", - endpoints.SaEast1RegionID: "520713654638", - endpoints.UsEast1RegionID: "520713654638", - endpoints.UsEast2RegionID: "520713654638", - endpoints.UsWest1RegionID: "520713654638", - endpoints.UsWest2RegionID: "520713654638", + // endpoints.MeCentral1RegionID: "", + endpoints.MeSouth1RegionID: "724002660598", + endpoints.SaEast1RegionID: "520713654638", + endpoints.UsEast1RegionID: "520713654638", + endpoints.UsEast2RegionID: "520713654638", + endpoints.UsWest1RegionID: "520713654638", + endpoints.UsWest2RegionID: "520713654638", } func DataSourcePrebuiltECRImage() *schema.Resource { From cc2e0879936a39215fe4b2fbc8b82201fbd83b72 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:42:02 -0400 Subject: [PATCH 08/10] Add CHANGELOG entry. --- .changelog/26572.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .changelog/26572.txt diff --git a/.changelog/26572.txt b/.changelog/26572.txt new file mode 100644 index 00000000000..420db953e7f --- /dev/null +++ b/.changelog/26572.txt @@ -0,0 +1,15 @@ +```release-note:enhancement + data-source/aws_cloudtrail_service_account: Add service account ID for `me-central-1` AWS Region +``` + +```release-note:enhancement +data-source/aws_elb_hosted_zone_id: Add hosted zone ID for `me-central-1` AWS Region +``` + +```release-note:enhancement +data-source/aws_lb_hosted_zone_id: Add hosted zone IDs for `me-central-1` AWS Region +``` + +```release-note:enhancement +data-source/aws_s3_bucket: Add hosted zone ID for `me-central-1` AWS Region +``` \ No newline at end of file From 499e61bbc64a5fb1717e9f44f475c4b3521519b1 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 31 Aug 2022 11:42:25 -0400 Subject: [PATCH 09/10] Run 'go mod tidy'. --- go.sum | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go.sum b/go.sum index c353afa2cd1..a4934e14e12 100644 --- a/go.sum +++ b/go.sum @@ -23,7 +23,6 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkY github.com/aws/aws-sdk-go v1.44.88 h1:9jhiZsTx9koQQsM29RTgwI0g4mfyphCdc3bkUcKrdwA= github.com/aws/aws-sdk-go v1.44.88/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go-v2 v1.16.3/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU= -github.com/aws/aws-sdk-go-v2 v1.16.11/go.mod h1:WTACcleLz6VZTp7fak4EO5b9Q4foxbn+8PIz3PmyKlo= github.com/aws/aws-sdk-go-v2 v1.16.12 h1:wbMYa2PlFysFx2GLIQojr6FJV5+OWCM/BwyHXARxETA= github.com/aws/aws-sdk-go-v2 v1.16.12/go.mod h1:C+Ym0ag2LIghJbXhfXZ0YEEp49rBWowxKzJLUoob0ts= github.com/aws/aws-sdk-go-v2/config v1.15.4 h1:P4mesY1hYUxru4f9SU0XxNKXmzfxsD0FtMIPRBjkH7Q= @@ -34,11 +33,9 @@ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.4/go.mod h1:u/s5/Z+ohUQOPXl0 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.13 h1:+uferi8SUDZtMloCDt24Zenyy/i71C/ua5mjUCpbpN0= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.13/go.mod h1:y0eXmsNBFIVjUE8ZBjES8myOHlMsXDz7qGT93+MVdjk= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.10/go.mod h1:F+EZtuIwjlv35kRJPyBGcsA4f7bnSoz15zOQ2lJq1Z4= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.18/go.mod h1:348MLhzV1GSlZSMusdwQpXKbhD7X2gbI/TxwAPKkYZQ= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.19 h1:gC5mudiFrWGhzcdoWj1iCGUfrzCpQG0MQIQf0CXFFQQ= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.19/go.mod h1:llxE6bwUZhuCas0K7qGiu5OgMis3N7kdWtFSxoHmJ7E= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.4/go.mod h1:8glyUqVIM4AmeenIsPo0oVh3+NUwnsQml2OFupfQW+0= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.12/go.mod h1:ckaCVTEdGAxO6KwTGzgskxR1xM+iJW4lxMyDFVda2Fc= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.13 h1:qezY57na06d6kSE7uuB0N7XEflu914AXx/hg2L8Ykcw= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.13/go.mod h1:lB12mkZqCSo5PsdBFLNqc2M/OOYgNAy8UtaktyuWvE8= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.11 h1:6cZRymlLEIlDTEB0+5+An6Zj1CKt6rSE69tOmFeu1nk= @@ -64,7 +61,6 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.16.4/go.mod h1:lfSYenAXtavyX2A1LsVig github.com/aws/aws-sdk-go-v2/service/transcribe v1.21.5 h1:hYZofZdt2q8hvpM7XV8/gN49ZEd8wf236G66Oo6QW08= github.com/aws/aws-sdk-go-v2/service/transcribe v1.21.5/go.mod h1:mmV5KXzUW+R8AMqDFkgX1vJ1th6SiyaghjvqQm3TC8g= github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= -github.com/aws/smithy-go v1.12.1/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.13.0 h1:YfyEmSJLo7fAv8FbuDK4R8F9aAmi9DZ88Zb/KJJmUl0= github.com/aws/smithy-go v1.13.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= From d87e113280211b77085d2495c12cd89fc5ece8a1 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Thu, 1 Sep 2022 10:51:56 -0400 Subject: [PATCH 10/10] r/aws_lambda_function: Code signing not supported in me-central-1 Region. --- internal/service/lambda/function.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/lambda/function.go b/internal/service/lambda/function.go index 43ebf3a6bc1..0b62ef4bcde 100644 --- a/internal/service/lambda/function.go +++ b/internal/service/lambda/function.go @@ -893,12 +893,12 @@ func resourceFunctionRead(d *schema.ResourceData, meta interface{}) error { return nil } - // Currently, this functionality is not enabled in ap-northeast-3 (Osaka) and ap-southeast-3 (Jakarta) region + // Currently, this functionality is not enabled in ap-northeast-3 (Osaka), me-central-1 (UAE) and ap-southeast-3 (Jakarta) region // and returns ambiguous error codes (e.g. AccessDeniedException) // so we cannot just ignore the error as would typically. // We are hardcoding the region here, because go aws sdk endpoints // package does not support Signer service - if region := meta.(*conns.AWSClient).Region; region == endpoints.ApNortheast3RegionID || region == endpoints.ApSoutheast3RegionID { + if region := meta.(*conns.AWSClient).Region; region == endpoints.ApNortheast3RegionID || region == endpoints.MeCentral1RegionID || region == endpoints.ApSoutheast3RegionID { return nil }