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

ConnectionProperties should be optional to create glue connection #19375

Merged
merged 3 commits into from
May 20, 2021

Conversation

no-brand
Copy link
Contributor

@no-brand no-brand commented May 14, 2021

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 #19374

Release note for CHANGELOG:

resource/aws_glue_connection: ConnectionProperties to be opional (especially for network type of glue connection)

Output from acceptance testing:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueConnection_Network'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueConnection_Network -timeout 180m
=== RUN   TestAccAWSGlueConnection_Network
=== PAUSE TestAccAWSGlueConnection_Network
=== CONT  TestAccAWSGlueConnection_Network
--- PASS: TestAccAWSGlueConnection_Network (60.45s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       60.494s

@no-brand no-brand requested a review from a team as a code owner May 14, 2021 10:19
@ghost ghost added size/M 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 May 14, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label May 14, 2021
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @no-brand 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

ConnectionProperties is key-value pairs, and it's not mandatory field.
@no-brand no-brand force-pushed the f-aws_glue_connection-network branch from dc1f42d to f921a0c Compare May 15, 2021 13:15
@DrFaust92 DrFaust92 self-assigned this May 16, 2021
@DrFaust92 DrFaust92 added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels May 16, 2021
Copy link
Collaborator

@DrFaust92 DrFaust92 left a comment

Choose a reason for hiding this comment

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

LGTM

--- PASS: TestAccAWSGlueConnection_disappears (29.69s)
--- PASS: TestAccAWSGlueConnection_Kafka (39.85s)
--- PASS: TestAccAWSGlueConnection_MongoDB (41.00s)
--- PASS: TestAccAWSGlueConnection_basic (44.37s)
--- PASS: TestAccAWSGlueConnection_Description (64.12s)
--- PASS: TestAccAWSGlueConnection_Network (81.38s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (99.45s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (609.25s)

@DrFaust92 DrFaust92 removed their assignment May 17, 2021
@ewbankkit ewbankkit force-pushed the f-aws_glue_connection-network branch from e53b342 to eb557c4 Compare May 20, 2021 14:02
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 🚀.

Commercial
% 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 180m
=== RUN   TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN   TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN   TestAccAWSGlueConnection_Network
=== PAUSE TestAccAWSGlueConnection_Network
=== 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_PhysicalConnectionRequirements
=== CONT  TestAccAWSGlueConnection_Description
=== CONT  TestAccAWSGlueConnection_MatchCriteria
=== CONT  TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_Network
=== CONT  TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_Kafka
--- PASS: TestAccAWSGlueConnection_disappears (16.52s)
--- PASS: TestAccAWSGlueConnection_MongoDB (22.44s)
--- PASS: TestAccAWSGlueConnection_Kafka (22.44s)
--- PASS: TestAccAWSGlueConnection_basic (22.47s)
--- PASS: TestAccAWSGlueConnection_Description (32.11s)
--- PASS: TestAccAWSGlueConnection_Network (33.33s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (40.45s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (686.30s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	689.804s
GovCloud
% 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 180m
=== RUN   TestAccAWSGlueConnection_basic
=== PAUSE TestAccAWSGlueConnection_basic
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== RUN   TestAccAWSGlueConnection_Kafka
=== PAUSE TestAccAWSGlueConnection_Kafka
=== RUN   TestAccAWSGlueConnection_Network
=== PAUSE TestAccAWSGlueConnection_Network
=== 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_Network
=== CONT  TestAccAWSGlueConnection_Description
=== CONT  TestAccAWSGlueConnection_disappears
=== CONT  TestAccAWSGlueConnection_Kafka
=== CONT  TestAccAWSGlueConnection_MongoDB
--- PASS: TestAccAWSGlueConnection_disappears (18.54s)
--- PASS: TestAccAWSGlueConnection_basic (22.62s)
--- PASS: TestAccAWSGlueConnection_MongoDB (24.54s)
--- PASS: TestAccAWSGlueConnection_Kafka (24.59s)
--- PASS: TestAccAWSGlueConnection_Description (36.40s)
--- PASS: TestAccAWSGlueConnection_Network (36.47s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (47.87s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (687.70s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	693.317s

@ewbankkit ewbankkit merged commit d7ffbcb into hashicorp:main May 20, 2021
@github-actions github-actions bot added this to the v3.43.0 milestone May 20, 2021
@ghost
Copy link

ghost commented Jun 1, 2021

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

@github-actions
Copy link

github-actions bot commented Jul 2, 2021

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 2, 2021
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. enhancement Requests to existing resources that expand the functionality or scope. service/glue Issues and PRs that pertain to the glue 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.

ConnectionProperties should be optional to create glue connection
3 participants