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

Test that ec2 vpn client association works with multiple subnets #18199

Merged
merged 6 commits into from
Mar 18, 2021

Conversation

bill-rich
Copy link
Contributor

This originally included a fix for a problem that was occurring on the AWS side. They have since fixed the issue, so I have removed the changes that were required to work around the problem. The test should still be included to confirm the issue is resolved, and is not broken again in the future.

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #11586

Output from acceptance testing:

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsEc2ClientVpnNetworkAssociation_ -timeout 180m
=== RUN   TestAccAwsEc2ClientVpnNetworkAssociation_multipleSubnets
=== PAUSE TestAccAwsEc2ClientVpnNetworkAssociation_multipleSubnets
=== CONT  TestAccAwsEc2ClientVpnNetworkAssociation_multipleSubnets
--- PASS: TestAccAwsEc2ClientVpnNetworkAssociation_multipleSubnets (815.08s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	815.118s

nijave and others added 3 commits March 18, 2021 11:23
Amazon API doesn't return the correct results when using
"AssociationIds" but works correctly when using a filter for the same
thing
@bill-rich bill-rich requested a review from a team as a code owner March 18, 2021 18:37
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Mar 18, 2021
@bflad bflad self-assigned this Mar 18, 2021
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAwsEc2ClientVpn_serial (0.98s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/NetworkAssociation_securityGroups (682.09s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/NetworkAssociation_basic (732.78s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/NetworkAssociation_disappears (740.80s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/NetworkAssociation_multipleSubnets (955.03s)

Tests fail (as expected) in AWS GovCloud (US) as the functionality is not supported in that partition.

.changelog/18199.txt Outdated Show resolved Hide resolved
bill-rich and others added 2 commits March 18, 2021 12:38
Co-authored-by: Brian Flad <bflad417@gmail.com>
@bill-rich bill-rich merged commit e797a8e into main Mar 18, 2021
@bill-rich bill-rich deleted the test-vpn-assoc-lookup branch March 18, 2021 19:43
@github-actions github-actions bot added this to the v3.33.0 milestone Mar 18, 2021
@ghost
Copy link

ghost commented Mar 18, 2021

This has been released in version 3.33.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!

@ghost
Copy link

ghost commented Apr 18, 2021

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 as resolved and limited conversation to collaborators Apr 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ec2 Issues and PRs that pertain to the ec2 service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Faulty Read of Client VPN Network associations break state
3 participants