AWS_API_Gateway_与Terraform中的Firehose集成的服务API应该是什么 [英] What should be service api for aws_api_gateway_integration with firehose in terraform

查看:0
本文介绍了AWS_API_Gateway_与Terraform中的Firehose集成的服务API应该是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据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集成的服务API应该是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆