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

Set id when updateconfig fail #108

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

claudusd
Copy link
Contributor

When the method UpdateConfig fail for an http 400 response the VM is created on the cluster but the Terraform's state doesn't persist the vm id.

If we set the id and return an error terraform create the resource state but tainted this resource.

⚠️ This PR required the merge of PR Telmate/proxmox-api-go#60 to update the go.mod.

@ggongaware ggongaware merged commit 0f7edc6 into Telmate:master Nov 4, 2019
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.

None yet

2 participants