As per terraform doc, uri for the aws_api_gateway_integration should be
resource "aws_api_gateway_integration" "integration" {
...
...
uri = "arn:aws:apigateway:{region}:firehose:PutRecord/{service_api}"
}
I am not able to figure out what the service_api should be. Can you please help?
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"
I found an example here:
type = "AWS"
integration_http_method = "POST"
uri = "arn:aws:apigateway:${var.aws_region}:kinesis:action/DescribeStream"
Example taken from here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With