All Questions
Tagged with aws-api-gateway terraform
221 questions
0
votes
1
answer
38
views
How to activate a documentation on AWS API Gateway using Terraform?
I am publishing an API Gateway documentation using aws_api_gateway_documentation_version as follows:
resource "aws_api_gateway_documentation_version" "docs_version" {
version ...
0
votes
0
answers
89
views
AWS API Gateway Returning {"message":"not found"}
Been working on this semi-secure (will add HTTPS later) API Gateway. I've managed to deploy the TF into the cloud, and it built fine.
My main issue currently is that when I try to use the Invoke URL (...
0
votes
1
answer
173
views
AWS Terraform Multiple deployments to single apigateway stage
I intend to setup multiple git repositories that has lambda deployment that is deployed to a stage such as “dev”. According to the terraform apigateway documentation to manage a stage, recommendation ...
0
votes
1
answer
245
views
How to deploy only updated resources in API Gateway using Terraform without triggering a full redeployment?
I have deployed a solution for API Gateway using Terraform. To address the issue of changes to a Swagger file not being deployed correctly, I introduced a dynamic value (description = ${timestamp}) in ...
1
vote
0
answers
75
views
How can I get a Google Chrome extension to call an AWS Lambda function that uses AWS API Gateway?
So I'm currently developing a Google Chrome extension in Node.js. As part of the extension, I'm making calls to the OpenAI API, and I'm building a backend for these calls to be done securely on AWS ...
0
votes
1
answer
57
views
Unable to turn off caching in API Gateway
I have this Terraform code:
resource "aws_api_gateway_method" "proxy" {
rest_api_id = aws_api_gateway_rest_api.dlx_mdm.id
resource_id = aws_api_gateway_resource.proxy.id
...
-1
votes
1
answer
92
views
AWS API Gateway Circular Dependence using Stage Variables for Lambda Integration with Terraform
I've got a working API Gateway with a hardcoded Lambda integration deployed using terraform. I want to replace the hardcoded Lambda ARN in the integration with a stage variable, which will open the ...
0
votes
0
answers
62
views
Terraform not re-creating OPTIONS integration responses for API Gateway
I am using Terraform to deploy a series of lambdas attached to API Gateway endpoints and am trying to overcome CORS issues. I have not been able to make the CORS work except to manually do it through ...
1
vote
1
answer
30
views
How to integrate the lambdas uris in the AWS API Gateway Specification YAML?
I'm working on managing my AWS API Gateway resources with Terraform. I've already generated the specification.yaml file for my API Gateway directly from the AWS Management Console.
My questions are:
...
1
vote
0
answers
60
views
Terraform + AWS: reference an existing resource (usage plan) but its attributes are overriden
I am using Terraform to try bootstrap API on AWS Gateway. My goal is to create new API, but reuse some existing configs, like existing usage plans and the associated API keys. I have the following .tf:...
0
votes
1
answer
500
views
How to Use Stage Variables for connection_id in aws_api_gateway_integration with Terraform?
I'm working with AWS API Gateway and Terraform, and I need some help with using stage variables in the connection_id field of an aws_api_gateway_integration resource.
I want to use a stage variable &...
2
votes
1
answer
126
views
API Gateway OpenAPI - pass custom variables from API Gateway to REQUEST typed Lambda Authorizer
Context: I would like to know how I can pass a custom variable like roles: ["ROLE_ORDER_READ", "ROLE_ORDER_WRITE"] from API Gateway OpenAPI to my REQUEST typed Lambda Authorizer. I ...
1
vote
1
answer
233
views
API Gateway V2 private integration to application load balancer always returns 503
I have an API Gateway V2 connected to an Application Load Balancer via a VPC Link defined in Terraform like so:
resource "aws_apigatewayv2_vpc_link" "alb_connection" {
name ...
0
votes
1
answer
81
views
How can I manage a terraform infrastructure repository and a lambda repository?
I have two git repositories.
Repository A contains my terraform infrastructure (DynamoDB tables, iam_roles, iam_role_policies, api_gateway_rest_api, aws_api_gateway_method, aws_api_gateway_resources)
...
0
votes
0
answers
55
views
Retrieving the Query String of a GET Request Sent to an AWS API Gateway to SQS Queue
I'm trying to send a GET request to an Amazon API Gateway and retrieve the query string to SQS queue. I've successfully done this with the POST method, but I'm struggling with the GET method and keep ...