-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add TLS Config to api gateway integration #15499
Add TLS Config to api gateway integration #15499
Conversation
Co-authored-by: jake-mcdermott <mail@jake.ie>
Co-authored-by: jake-mcdermott <mail@jake.ie>
@@ -272,11 +272,10 @@ func TestAccAWSAPIGatewayIntegration_integrationType(t *testing.T) { | |||
), | |||
}, | |||
{ | |||
Config: testAccAWSAPIGatewayIntegrationConfig_IntegrationTypeInternet(rName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is the same as Line 259 so instead of creating another test I've replaced the duplicate with the new test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I recall correctly, the update back to INTERNET
was an intentional update test. In general, the maintainers prefer if existing testing is not touched to ensure regressions are covered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this, @tmcgahern. Overall it looks really good and we will be pulling this in with just some minor testing updates.
@@ -272,11 +272,10 @@ func TestAccAWSAPIGatewayIntegration_integrationType(t *testing.T) { | |||
), | |||
}, | |||
{ | |||
Config: testAccAWSAPIGatewayIntegrationConfig_IntegrationTypeInternet(rName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I recall correctly, the update back to INTERNET
was an intentional update test. In general, the maintainers prefer if existing testing is not touched to ensure regressions are covered.
@@ -272,11 +272,10 @@ func TestAccAWSAPIGatewayIntegration_integrationType(t *testing.T) { | |||
), | |||
}, | |||
{ | |||
Config: testAccAWSAPIGatewayIntegrationConfig_IntegrationTypeInternet(rName), | |||
Config: testAccAWSAPIGatewayIntegrationConfig_IntegrationTLSConfig(rName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will move this to its own acceptance test and make the insecure_skip_verification
a boolean function parameter so we can easily verify updates between true/false.
This has been released in version 3.24.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
Co-authored-by: jake-mcdermott mail@jake.ie
Community Note
Closes #15492
The change was based on a similar tls_config block in the API gateway V2 integration here:
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/resource_aws_apigatewayv2_integration.go#L132
Release note for CHANGELOG:
Output from acceptance testing: