Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS API GW should support AWS_PROXY integration type. #9249

Closed
BerndWessels opened this issue Oct 6, 2016 · 3 comments
Closed

AWS API GW should support AWS_PROXY integration type. #9249

BerndWessels opened this issue Oct 6, 2016 · 3 comments

Comments

@BerndWessels
Copy link

Hi there,

we desperately need AWS_PROXY as type for our API Gateway integration to the Lambda function.

AWS actually supports that, but terraform seems not to be updated with the new types.

Terraform Version

v0.7.4

Affected Resource(s)

  • aws_api_gateway_integration

Terraform Configuration Files

resource "aws_api_gateway_integration" "SeoWebsite" {
  rest_api_id = "${aws_api_gateway_rest_api.SeoWebsite.id}"
  resource_id = "${aws_api_gateway_resource.SeoWebsite.id}"
  http_method = "${aws_api_gateway_method.SeoWebsite.http_method}"
  type = "AWS_PROXY"
  uri = "arn:aws:apigateway:${var.aws_region}:lambda:path/2015-03-31/functions/${aws_lambda_function.SeoWebsite.arn}/invocations"
  integration_http_method = "${aws_api_gateway_method.SeoWebsite.http_method}"
}

Expected Behavior

Allow AWS_PROXY value for type.

Actual Behavior

Errors: aws_api_gateway_integration.SeoWebsite: "type" must be one of 'AWS', 'MOCK', 'HTTP'

References

@kwilczynski
Copy link
Contributor

@BerndWessels hi there! I have a very good news for you!

The work on adding this has already been done, and is due to release together with next point-release, as per: #9213

Keep an eye on an upcoming release.

@stack72
Copy link
Contributor

stack72 commented Oct 6, 2016

Closed via #9213 :)

@ghost
Copy link

ghost commented Apr 21, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants