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

Cannot Update Context Vars on running VM via Terraform #134

Closed
MEGrimshaw opened this issue Jul 27, 2021 · 2 comments
Closed

Cannot Update Context Vars on running VM via Terraform #134

MEGrimshaw opened this issue Jul 27, 2021 · 2 comments

Comments

@MEGrimshaw
Copy link

When I go into the Sunstone UI I can update context variables & validate the change on the VM, however, when doing this via Terraform results in TF showing the change was successfully made, however that change isn't reflected either in the UI nor on the VM.

There's a similar (Open) issue here: #63 (comment)

However, the discussion around that thread is that it isn't possible. We have verified it's possible in the UI, just not via Terraform.

@MEGrimshaw
Copy link
Author

Still digging into the code, but it appears as though in func resourceOpennebulaVirtualMachineUpdate there is nothing looking for changes to the context vars. Name, Permissions, Group, Tags, Disk & Nic but not context.

@jaypif
Copy link
Collaborator

jaypif commented Jul 27, 2021

Hi all

This issue is the same as #63.

You are right about the observed behavior for context attributes.
When the first release of the provider was developed it was not possible to "hot" update the context.
Since 5.10 release it is indeed possible but the provider was not updated.

I propose to close this issue and to continue on #63.

Thank you for your contribution.

Best regards

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