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

Support handling 404s when a resource has been deleted #54

Closed
bstoutenburgh opened this issue Jun 29, 2022 · 2 comments
Closed

Support handling 404s when a resource has been deleted #54

bstoutenburgh opened this issue Jun 29, 2022 · 2 comments

Comments

@bstoutenburgh
Copy link

We've had several instances of a human user deleting views that are managed by terraform, which the provider does not handle well.

Error: Cannot read the remote view resource

  with module.logdna-views-prod.logdna_view.errors_in_satellite,
  on ../../modules/logdna_prod/main.tf line 822, in resource "logdna_view" "errors_in_satellite":
 822: resource "logdna_view" "errors_in_satellite" {

GET https://REDACTED_HOSTNAME/v1/config/view/REDACTED_ID, status 404 NOT OK! {"error":"Resource Not Found","code":"NotFound","status":"error"}

Typically providers see this as needing to recreate the resource.

@gjanco
Copy link
Contributor

gjanco commented Aug 29, 2022

Will be tracked by #53

@gjanco gjanco closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2022
@gjanco gjanco reopened this Aug 29, 2022
@gjanco
Copy link
Contributor

gjanco commented Aug 29, 2022

Duplicate of #53

@gjanco gjanco marked this as a duplicate of #53 Aug 29, 2022
@gjanco gjanco closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants