-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tf plan/apply with aws_lambda_function in me-central-1 throws errors #26486
Comments
Could you please take a look at this fix and consider it for inclusion into the next release. |
+1 |
The region me-central-1 went public today. |
After merging #26590 I can reproduce this: % AWS_DEFAULT_REGION=me-central-1 make testacc TESTARGS='-run=TestAccLambdaFunction_basic' PKG=lambda ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 2 -run=TestAccLambdaFunction_basic -timeout 180m
=== RUN TestAccLambdaFunction_basic
=== PAUSE TestAccLambdaFunction_basic
=== CONT TestAccLambdaFunction_basic
function_test.go:46: Step 1/2 error: Error running apply: exit status 1
Error: error getting Lambda Function (tf_acc_lambda_func_basic_8m8zxsrq) code signing config AccessDeniedException:
status code: 403, request id: c8993f50-3b64-45fd-9b07-179097ba639c
with aws_lambda_function.test,
on terraform_plugin_test.tf line 134, in resource "aws_lambda_function" "test":
134: resource "aws_lambda_function" "test" {
--- FAIL: TestAccLambdaFunction_basic (33.87s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/lambda 40.681s
FAIL
make: *** [testacc] Error 1 |
This functionality has been released in v4.29.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
As announced here, AWS is launching a new region in UAE in 2022 and more are in the works.
While testing the region in UAE (region code me-central-1), I'm getting the same error as reported in issue 22692, as Code Signer is not available yet.
Terraform CLI and Terraform AWS Provider Version
Terraform v1.2.8
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
No errors should be printed
Actual Behavior
terraform throws error, however lambda gets created
Steps to Reproduce
The text was updated successfully, but these errors were encountered: