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

r/glue_connection - Add support network connection type + disappears test #14818

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Aug 25, 2020

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 #14769
Relates #13826
Relates #14601

Release note for CHANGELOG:

resource_aws_glue_connection - support `NETWORK` connection type

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSGlueConnection_'
--- PASS: TestAccAWSGlueConnection_basic (66.82s)
--- PASS: TestAccAWSGlueConnection_MongoDB (56.21s)
--- PASS: TestAccAWSGlueConnection_Kafka (50.82s)
--- PASS: TestAccAWSGlueConnection_Description (82.73s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (120.87s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (571.28s)
--- PASS: TestAccAWSGlueConnection_disappears (39.92s)

@DrFaust92 DrFaust92 requested a review from a team August 25, 2020 07:55
@ghost ghost added size/S Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/glue Issues and PRs that pertain to the glue service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Aug 25, 2020
@ewbankkit
Copy link
Contributor

Relates: #14601.

Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM.

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSGlueConnection_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueConnection_ -timeout 120m
=== RUN   TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN   TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN   TestAccAWSGlueConnection_Description
=== PAUSE TestAccAWSGlueConnection_Description
=== RUN   TestAccAWSGlueConnection_MatchCriteria
=== PAUSE TestAccAWSGlueConnection_MatchCriteria
=== RUN   TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== PAUSE TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== RUN   TestAccAWSGlueConnection_disappears
=== PAUSE TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_basic
=== CONT  TestAccAWSGlueConnection_MatchCriteria
=== CONT  TestAccAWSGlueConnection_Description
=== CONT  TestAccAWSGlueConnection_Kafka
=== CONT  TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== CONT  TestAccAWSGlueConnection_disappears
    resource_aws_glue_connection_test.go:282: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueConnection_disappears (24.72s)
--- PASS: TestAccAWSGlueConnection_basic (33.63s)
--- PASS: TestAccAWSGlueConnection_Kafka (33.71s)
--- PASS: TestAccAWSGlueConnection_MongoDB (33.76s)
--- PASS: TestAccAWSGlueConnection_Description (45.56s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (56.30s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (565.37s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	565.412s

@breathingdust
Copy link
Member

LGTM! 🚀 Thanks @DrFaust92

Verified Acceptance Tests in Commercial (us-west-2)

make testacc TESTARGS='-run=TestAccAWSGlueConnection_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueConnection_ -timeout 120m
=== RUN   TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN   TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN   TestAccAWSGlueConnection_Description
=== PAUSE TestAccAWSGlueConnection_Description
=== RUN   TestAccAWSGlueConnection_MatchCriteria
=== PAUSE TestAccAWSGlueConnection_MatchCriteria
=== RUN   TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== PAUSE TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== RUN   TestAccAWSGlueConnection_disappears
=== PAUSE TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_basic
=== CONT  TestAccAWSGlueConnection_MatchCriteria
=== CONT  TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_Kafka
=== CONT  TestAccAWSGlueConnection_Description
=== CONT  TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== CONT  TestAccAWSGlueConnection_disappears
    resource_aws_glue_connection_test.go:282: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueConnection_disappears (12.24s)
--- PASS: TestAccAWSGlueConnection_basic (15.67s)
--- PASS: TestAccAWSGlueConnection_MongoDB (16.88s)
--- PASS: TestAccAWSGlueConnection_Kafka (17.75s)
--- PASS: TestAccAWSGlueConnection_Description (27.98s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (35.97s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (651.96s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	653.558s

Verified Acceptance Tests in GovCloud (us-gov-west-1)

make testacc TESTARGS='-run=TestAccAWSGlueConnection_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueConnection_ -timeout 120m
=== RUN   TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN   TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN   TestAccAWSGlueConnection_Description
=== PAUSE TestAccAWSGlueConnection_Description
=== RUN   TestAccAWSGlueConnection_MatchCriteria
=== PAUSE TestAccAWSGlueConnection_MatchCriteria
=== RUN   TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== PAUSE TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== RUN   TestAccAWSGlueConnection_disappears
=== PAUSE TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_basic
=== CONT  TestAccAWSGlueConnection_MatchCriteria
=== CONT  TestAccAWSGlueConnection_PhysicalConnectionRequirements
=== CONT  TestAccAWSGlueConnection_Kafka
=== CONT  TestAccAWSGlueConnection_Description
=== CONT  TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_disappears
    resource_aws_glue_connection_test.go:282: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSGlueConnection_disappears (9.43s)
--- PASS: TestAccAWSGlueConnection_basic (12.75s)
--- PASS: TestAccAWSGlueConnection_MongoDB (12.95s)
--- PASS: TestAccAWSGlueConnection_Kafka (13.19s)
--- PASS: TestAccAWSGlueConnection_Description (19.59s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (26.15s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (616.27s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	617.819s

@breathingdust breathingdust added this to the v3.8.0 milestone Sep 23, 2020
@breathingdust breathingdust merged commit 75e63d4 into hashicorp:master Sep 23, 2020
breathingdust added a commit that referenced this pull request Sep 23, 2020
@ghost
Copy link

ghost commented Sep 24, 2020

This has been released in version 3.8.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 Oct 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 as resolved and limited conversation to collaborators Oct 24, 2020
@DrFaust92 DrFaust92 deleted the r/glue_connection_type_enum branch April 15, 2021 10:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/glue Issues and PRs that pertain to the glue service. size/S 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.

Support for Glue Connection Type: Network
3 participants