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

resource/aws_glue_catalog_table: Prevent EntityNotFoundException when deleted outside of terraform #8173

Closed
thomasv314 opened this issue Apr 3, 2019 · 3 comments · Fixed by #8174
Labels
bug Addresses a defect in current functionality. service/glue Issues and PRs that pertain to the glue service.
Milestone

Comments

@thomasv314
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.11.13
+ provider.aws v2.4.0

Affected Resource(s)

  • aws_glue_catalog_table

Terraform Configuration Files

provider "aws" {
  region = "us-west-2"
}

resource "aws_glue_catalog_database" "aws_glue_catalog_database" {
  name = "tvendettamycatalogdatabase"
}

resource "aws_glue_catalog_table" "aws_glue_catalog_table" {
  name          = "mycatalogtable"
  database_name = "tvendettamycatalogdatabase"
}

Output

https://gist.github.com/thomasv314/9f2f61f1b741511f5101eaef7153f0f6

Expected Behavior

Terraform should recreate a manually deleted aws_glue_catalog table

Actual Behavior

Terraform throws an EntityNotFound exception

Steps to Reproduce

  1. terraform apply
  2. Delete the AWS Glue Catalog Table manually in the console
  3. terraform plan

References

thomasv314 pushed a commit to thomasv314/terraform-provider-aws that referenced this issue Apr 3, 2019
@thomasv314 thomasv314 mentioned this issue Apr 3, 2019
@nywilken nywilken added service/glue Issues and PRs that pertain to the glue service. bug Addresses a defect in current functionality. labels Apr 4, 2019
@bflad bflad added this to the v2.6.0 milestone Apr 5, 2019
@bflad
Copy link
Contributor

bflad commented Apr 5, 2019

The fix for this has been merged and will release with version 2.6.0 of the Terraform AWS Provider, likely middle of next week. 👍

@bflad
Copy link
Contributor

bflad commented Apr 11, 2019

This has been released in version 2.6.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Mar 30, 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 and limited conversation to collaborators Mar 30, 2020
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants