根据terraform文档,aws_api_gateway_integration的uri应该是
resource "aws_api_gateway_integration" "integration" {
...
...
uri = "arn:aws:apigateway:{region}:firehose:PutRecord/{service_api}"
}
我无法弄清楚service_api应该是什么。你能帮忙吗?
https://www.terraform.io/docs/providers/aws/r/api_gateway_integration.html
最佳答案
type = "AWS"
integration_http_method = "POST"
uri = "arn:aws:apigateway:${var.aws_region}:firehose:action/PutRecord"
关于aws-api-gateway - 在terraform中使用firehose的aws_api_gateway_integration应该是什么服务api,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46859122/