Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Set empty ID on 404 for ip addr #19

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Set empty ID on 404 for ip addr #19

merged 1 commit into from
Jun 4, 2020

Conversation

pablo-ruth
Copy link
Collaborator

Fix #18

When an ipam address created by terraform is removed directly from ipam the provider returns a 404 error but doesn't remove the resource from state. This MR fixes this by removing ip address resource from state when not found on ipam.

@pablo-ruth pablo-ruth merged commit e989007 into master Jun 4, 2020
@pablo-ruth pablo-ruth deleted the ipAddrNotFound branch June 4, 2020 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve output on 404 and recreate the resource
1 participant