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

Add Example for using config json file downloaded from install.nutanix.com to image nodes using terraform nutanix foundation #435

Closed
bhati-pradeep opened this issue May 3, 2022 · 0 comments · Fixed by #444

Comments

@bhati-pradeep
Copy link
Collaborator

bhati-pradeep commented May 3, 2022

Is your feature request related to a problem? Please describe.
Instead of mentioning all the details like cvm_ip, ipmi_ip, etc. manually, we can leverage the config.json file downloaded from install.nutanix.com to create the spec dynamically.

Example :
We can create local variable to get details from config using -
locals{ config = (jsondecode(file("config.json"))) }

@bhati-pradeep bhati-pradeep changed the title Example for using config json file downloaded from install.nutanix.com to image nodes using terraform nutanix foundation Add Example for using config json file downloaded from install.nutanix.com to image nodes using terraform nutanix foundation May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant