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_catalog_table - ignore not exists errors on delete #21227

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Oct 9, 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 #20034

Output from acceptance testing:

$ make testacc TESTARGS='-run=-run=TestAccAWSGlueCatalogTable_'
--- PASS: TestAccAWSGlueCatalogTable_disappears_database (103.71s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_SkewedInfo_EmptyConfigurationBlock (112.07s)
--- PASS: TestAccAWSGlueCatalogTable_disappears (115.61s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_SerDeInfo_EmptyConfigurationBlock (116.54s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_EmptyConfigurationBlock (117.77s)
--- PASS: TestAccAWSGlueCatalogTable_partitionIndexesMultiple (138.69s)
--- PASS: TestAccAWSGlueCatalogTable_partitionIndexesSingle (143.44s)
--- PASS: TestAccAWSGlueCatalogTable_columnParameters (143.71s)
--- PASS: TestAccAWSGlueCatalogTable_full (143.86s)
--- PASS: TestAccAWSGlueCatalogTable_basic (144.23s)
--- PASS: TestAccAWSGlueCatalogTable_targetTable (148.60s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_schemaReferenceArn (154.07s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_SerDeInfo_UpdateValues (200.05s)
--- PASS: TestAccAWSGlueCatalogTable_update_replaceValues (200.91s)
--- PASS: TestAccAWSGlueCatalogTable_update_addValues (204.71s)
--- PASS: TestAccAWSGlueCatalogTable_StorageDescriptor_schemaReference (221.27s)

@github-actions github-actions bot added service/glue Issues and PRs that pertain to the glue service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XS Managed by automation to categorize the size of a PR. labels Oct 9, 2021
@DrFaust92 DrFaust92 added the bug Addresses a defect in current functionality. label Oct 9, 2021
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 TESTARGS='-run=TestAccAWSGlueCatalogTable_disappears'                         
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueCatalogTable_disappears -timeout 180m
=== RUN   TestAccAWSGlueCatalogTable_disappears_database
=== PAUSE TestAccAWSGlueCatalogTable_disappears_database
=== RUN   TestAccAWSGlueCatalogTable_disappears
=== PAUSE TestAccAWSGlueCatalogTable_disappears
=== CONT  TestAccAWSGlueCatalogTable_disappears_database
=== CONT  TestAccAWSGlueCatalogTable_disappears
--- PASS: TestAccAWSGlueCatalogTable_disappears_database (14.33s)
--- PASS: TestAccAWSGlueCatalogTable_disappears (15.86s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	19.638s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSGlueCatalogTable_disappears'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueCatalogTable_disappears -timeout 180m
=== RUN   TestAccAWSGlueCatalogTable_disappears_database
=== PAUSE TestAccAWSGlueCatalogTable_disappears_database
=== RUN   TestAccAWSGlueCatalogTable_disappears
=== PAUSE TestAccAWSGlueCatalogTable_disappears
=== CONT  TestAccAWSGlueCatalogTable_disappears_database
=== CONT  TestAccAWSGlueCatalogTable_disappears
--- PASS: TestAccAWSGlueCatalogTable_disappears_database (16.84s)
--- PASS: TestAccAWSGlueCatalogTable_disappears (19.10s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	23.841s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 6199529 into hashicorp:main Oct 13, 2021
@github-actions github-actions bot added this to the v3.63.0 milestone Oct 13, 2021
@DrFaust92 DrFaust92 deleted the r/glue_catalog_delete branch October 13, 2021 18:47
@github-actions
Copy link

This functionality has been released in v3.63.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 Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/glue Issues and PRs that pertain to the glue service. size/XS 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.

Glue Catalog Table resource fails to destroy when database cannot be found
2 participants