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

apigatewayv2_integration tls_config attribute not present - cant do Private Integration against HTTPS Listener #13001

Closed
AleksandarTokarev opened this issue Apr 24, 2020 · 3 comments
Labels
service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service.

Comments

@AleksandarTokarev
Copy link

AleksandarTokarev commented Apr 24, 2020

I am trying to do a Private Integration against HTTPS Listener of Application Load Balancer. In order to do, we need to have the TLS Config parameter available. I see it was added, but then it got removed. Obviously it needs to be brought back in order for the private integrations to work. I tested this in Cloudformation and it works fine.
ffbce32

Terraform Version

Terraform v0.11.2
provider.aws v2.59.0

Affected Resource(s)

aws_apigatewayv2_integration/
https://www.terraform.io/docs/providers/aws/r/apigatewayv2_integration.html

Terraform Configuration Files

resource "aws_apigatewayv2_integration" "example" {
  api_id             = "${aws_apigatewayv2_api.example.id}"
  integration_type   = "HTTP_PROXY"
  connection_type    = "VPC_LINK"
  connection_id      = "${aws_apigatewayv2_vpc_link.vpc_link.id}"
  integration_uri    = "${var.alb_arn}"
  integration_method = "ANY"
  tls_config         = "url2.dev.randomurl.com"
}

Expected Behavior

The API V2 Integration should have been created with Secure Server name in order to connect to HTTPS listener

Actual Behavior

Error: aws_apigatewayv2_integration.example: : invalid or unknown key: tls_config

Steps to Reproduce

1.terraform init
2.terraform apply

References

I see this was added but then removed in this PR:
ffbce32
Obviously doing a private integration against HTTPS listener is not possible without this. I tested this in cloud formation and it seems to work with that attirubute.

@ghost ghost added the service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service. label Apr 24, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 24, 2020
@ewbankkit
Copy link
Contributor

@AleksandarTokarev Thanks for raising this.
This has already been noted in #12971.
Could you please close this issue and upvote the linked one?

@AleksandarTokarev
Copy link
Author

Sure will do that. Thanks @ewbankkit

@ghost
Copy link

ghost commented May 24, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators May 24, 2020
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service.
Projects
None yet
Development

No branches or pull requests

3 participants