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/athena_database - add properties + import support #24172

Merged
merged 4 commits into from
Apr 12, 2022

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Apr 10, 2022

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

Output from acceptance testing:

$ make testacc TESTS=TestAccAthenaDatabase_ PKG=athena

--- PASS: TestAccAthenaDatabase_nameCantHaveUppercase (4.89s)
--- PASS: TestAccAthenaDatabase_disppears (49.70s)
--- PASS: TestAccAthenaDatabase_properties (55.26s)
--- PASS: TestAccAthenaDatabase_forceDestroyAlwaysSucceeds (55.45s)
--- PASS: TestAccAthenaDatabase_basic (57.23s)
--- PASS: TestAccAthenaDatabase_acl (57.44s)
--- PASS: TestAccAthenaDatabase_nameStartsWithUnderscore (57.46s)
--- PASS: TestAccAthenaDatabase_unescaped_description (57.54s)
--- PASS: TestAccAthenaDatabase_description (57.55s)
--- PASS: TestAccAthenaDatabase_encryption (60.38s)
--- PASS: TestAccAthenaDatabase_destroyFailsIfTablesExist (64.35s)

@github-actions github-actions bot added size/M Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. service/athena Issues and PRs that pertain to the athena service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Apr 10, 2022
@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Apr 10, 2022
@DrFaust92 DrFaust92 marked this pull request as ready for review April 10, 2022 12:18
@DrFaust92 DrFaust92 added enhancement Requests to existing resources that expand the functionality or scope. and removed documentation Introduces or discusses updates to documentation. labels Apr 10, 2022
@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Apr 10, 2022
@DrFaust92 DrFaust92 removed the needs-triage Waiting for first response or review from a maintainer. label Apr 10, 2022
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 TESTS=TestAccAthenaDatabase_ PKG=athena ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/athena/... -v -count 1 -parallel 2 -run='TestAccAthenaDatabase_'  -timeout 180m
=== RUN   TestAccAthenaDatabase_basic
=== PAUSE TestAccAthenaDatabase_basic
=== RUN   TestAccAthenaDatabase_properties
=== PAUSE TestAccAthenaDatabase_properties
=== RUN   TestAccAthenaDatabase_acl
=== PAUSE TestAccAthenaDatabase_acl
=== RUN   TestAccAthenaDatabase_encryption
=== PAUSE TestAccAthenaDatabase_encryption
=== RUN   TestAccAthenaDatabase_nameStartsWithUnderscore
=== PAUSE TestAccAthenaDatabase_nameStartsWithUnderscore
=== RUN   TestAccAthenaDatabase_nameCantHaveUppercase
=== PAUSE TestAccAthenaDatabase_nameCantHaveUppercase
=== RUN   TestAccAthenaDatabase_destroyFailsIfTablesExist
=== PAUSE TestAccAthenaDatabase_destroyFailsIfTablesExist
=== RUN   TestAccAthenaDatabase_forceDestroyAlwaysSucceeds
=== PAUSE TestAccAthenaDatabase_forceDestroyAlwaysSucceeds
=== RUN   TestAccAthenaDatabase_description
=== PAUSE TestAccAthenaDatabase_description
=== RUN   TestAccAthenaDatabase_unescaped_description
=== PAUSE TestAccAthenaDatabase_unescaped_description
=== RUN   TestAccAthenaDatabase_disppears
=== PAUSE TestAccAthenaDatabase_disppears
=== CONT  TestAccAthenaDatabase_properties
=== CONT  TestAccAthenaDatabase_destroyFailsIfTablesExist
--- PASS: TestAccAthenaDatabase_properties (33.14s)
=== CONT  TestAccAthenaDatabase_nameStartsWithUnderscore
--- PASS: TestAccAthenaDatabase_destroyFailsIfTablesExist (41.89s)
=== CONT  TestAccAthenaDatabase_nameCantHaveUppercase
--- PASS: TestAccAthenaDatabase_nameCantHaveUppercase (1.27s)
=== CONT  TestAccAthenaDatabase_unescaped_description
--- PASS: TestAccAthenaDatabase_nameStartsWithUnderscore (32.70s)
=== CONT  TestAccAthenaDatabase_disppears
--- PASS: TestAccAthenaDatabase_unescaped_description (35.29s)
=== CONT  TestAccAthenaDatabase_encryption
--- PASS: TestAccAthenaDatabase_disppears (27.54s)
=== CONT  TestAccAthenaDatabase_acl
--- PASS: TestAccAthenaDatabase_encryption (33.01s)
=== CONT  TestAccAthenaDatabase_description
--- PASS: TestAccAthenaDatabase_acl (30.61s)
=== CONT  TestAccAthenaDatabase_forceDestroyAlwaysSucceeds
--- PASS: TestAccAthenaDatabase_description (32.37s)
=== CONT  TestAccAthenaDatabase_basic
--- PASS: TestAccAthenaDatabase_forceDestroyAlwaysSucceeds (31.41s)
--- PASS: TestAccAthenaDatabase_basic (31.61s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/athena	180.670s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit bf896df into hashicorp:main Apr 12, 2022
@github-actions github-actions bot added this to the v4.10.0 milestone Apr 12, 2022
@github-actions
Copy link

This functionality has been released in v4.10.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. Thank you!

@github-actions
Copy link

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 May 17, 2022
@DrFaust92 DrFaust92 deleted the athena-import branch May 21, 2022 12:43
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/athena Issues and PRs that pertain to the athena service. size/L 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.

Add import support to aws_athena_database
2 participants