Deploying API Gateway and Lambda Integration using Terraform
1 min read
I am trying to create Lambda function using Terraform. There is no permission issue.
aws_lambda_function.lambda: Creating... fails. │ Error: error creating Lambda Function (1): ValidationException: │ status code: 400, request id:
I tried to debug and it has the same info. There is nothing much.
export TF_LOG=TRACE terraform apply 2>&1 | tee apply.txt
As per this git page it’s a known error.
https://github.com/hashicorp/terraform-provider-aws/issues/13709 Has anyone got it resolved? Thanks.
資料來源:Stackoverflow