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 maas_instance updates #117

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

skatsaounis
Copy link
Collaborator

Apply ForceNew to internal fields of allocate_params, deploy_params, network_interfaces.

Since a change on any of these fields indicates the intention to release the machine and deploy again, this has to be reflected in Terraform. In addition, without setting the ForceNew option, Terraform is not aware that has to perform release and deploy aka destroy and create. Instead, it will try to update in place the fields leading to a Terraform error since there is no update action for maas_instance resource.

Resolves #45

@skatsaounis skatsaounis changed the title Fix maas_instance updates Fix maas_instance updates Nov 16, 2023
@skatsaounis skatsaounis merged commit 8968c14 into canonical:master Nov 16, 2023
7 checks passed
@skatsaounis skatsaounis deleted the fix-instance-update branch November 16, 2023 13:08
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.

maas_instance.depoy_params.user_data does not support update
2 participants