OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
63 stars 52 forks source link

F-498: add support for `passwd` and `random_passwd` arguments #499

Closed grossibr closed 8 months ago

grossibr commented 11 months ago

Community Note

Description

Adds support for passwd and random_passwd arguments for graphics section for VNC so we avoid the following:

β”‚ Error: Unsupported argument
β”‚
β”‚ on ../../_modules/instance/instance.tf line 33, in resource "opennebula_virtual_machine" "instance":
β”‚ 33: passwd = substr(base64encode(random_string.password.result), 0, 8)
β”‚
β”‚ An argument named "passwd" is not expected here.
<!--- Please leave a helpful description of the PR here. --->

References

498: Add passwd and random_passwd arguments for opennebula_virtual_machine and opennebula_template graphics sections

New or Affected Resource(s)

Checklist

grossibr commented 11 months ago

@frousselet may I ask you to approve the flows once more?

frousselet commented 11 months ago

Done, @axbgrossi :)

grossibr commented 11 months ago

@frousselet once more if you're available, please

grossibr commented 11 months ago

CI / Test OpenNebula 5.12 error seems unrelated to the changes in this PR, please resume with review

grossibr commented 10 months ago

@treywelsh @frousselet will this be merged by you maintainers when the time comes?

grossibr commented 10 months ago

@frousselet please consider reviewing this PR so we can finally close that issue

grossibr commented 9 months ago

@frousselet could you please approve the workflows?

grossibr commented 9 months ago

@frousselet would you be kind to approve the workflows once more?

grossibr commented 9 months ago

@frousselet would you please approve the flows once more?

grossibr commented 9 months ago

@frousselet once more please

treywelsh commented 8 months ago

Seems due to the ConflictsWith: their values targets nested Graphics attributes, not attributes at the root of the schema. So try something "graphics.0.passwd" and "graphics.0.random_passwd". It's ok because Graphics is a typelist with a maximum of 1 element

grossibr commented 8 months ago

Seems due to the ConflictsWith: their values targets nested Graphics attributes, not attributes at the root of the schema. So try something "graphics.0.passwd" and "graphics.0.random_passwd". It's ok because Graphics is a typelist with a maximum of 1 element

done, @treywelsh or @frousselet could you please approve the flows?

frousselet commented 8 months ago

Hello @axbgrossi,

Thanks a lot for your work. Could you rebase with master and solve merge conflicts please?

Then I will be able to merge and include it in the 1.4.0 release.