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

Fix 404 handling in apstra_datacenter_connectivity_template_assignments resource #765

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

chrismarget-j
Copy link
Collaborator

@chrismarget-j chrismarget-j commented Aug 8, 2024

After handling 404 response via resp.State.RemoveResource(), resourceDatacenterConnectivityTemplateAssignments.Read() should return cleanly to allow Terraform to plan re-creation of the missing resource.

The return isn't there, leading terraform to surface a handle-able error to the user.

Closes #764

cc: @michaelbhughes

@chrismarget-j chrismarget-j merged commit 716199c into main Aug 9, 2024
2 checks passed
@chrismarget-j chrismarget-j deleted the bug/764-missing-return branch August 9, 2024 15:00
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

Successfully merging this pull request may close these issues.

Missing return in resourceDatacenterConnectivityTemplateAssignments.Read()
2 participants