在 LocalStack 上应用 aws_apigatewayv2_api 资源更改时出错
Error when applying change for aws_apigatewayv2_api resource on LocalStack
我正在尝试使用 terraform 在 LocalStack 上创建一个 API 网关,但出现此错误:
aws_apigatewayv2_api.lambda: Creating...
╷
│ Error: error creating API Gateway v2 API: UnrecognizedClientException:
│ status code: 403, request id: bd95aa42-75ab-42d1-9c9a-b95d9a58b3c8
│
│ with aws_apigatewayv2_api.lambda,
│ on main.tf line 131, in resource "aws_apigatewayv2_api" "lambda":
│ 131: resource "aws_apigatewayv2_api" "lambda" {
│
╵
我正在按照此处的教程进行操作:
https://learn.hashicorp.com/tutorials/terraform/lambda-api-gateway
我正在尝试使用 terraform 在 LocalStack 上创建一个 API 网关,但出现此错误:
aws_apigatewayv2_api.lambda: Creating...
╷
│ Error: error creating API Gateway v2 API: UnrecognizedClientException:
│ status code: 403, request id: bd95aa42-75ab-42d1-9c9a-b95d9a58b3c8
│
│ with aws_apigatewayv2_api.lambda,
│ on main.tf line 131, in resource "aws_apigatewayv2_api" "lambda":
│ 131: resource "aws_apigatewayv2_api" "lambda" {
│
╵
我正在按照此处的教程进行操作: https://learn.hashicorp.com/tutorials/terraform/lambda-api-gateway