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

Proper examples for a deployment with network_data #55

Open
NobbZ opened this issue Oct 6, 2021 · 0 comments
Open

Proper examples for a deployment with network_data #55

NobbZ opened this issue Oct 6, 2021 · 0 comments

Comments

@NobbZ
Copy link

NobbZ commented Oct 6, 2021

After #54 beeing an obvious fail we dug further in the code and found that there is already some support in the deployment ressource for network_data.

The example in the README just uses network_data = var.network_data (https://github.com/openshift-metal3/terraform-provider-ironic#deployment)

Is there a more complete example about how to set the network_data up?

Our team tried several variants, but it always resulted in a typeerror, as nested values have to be strings (according to TF), while the structure of the network data usually is a JSON object and would roughly have the type map[string][]map[string]interface{} in Go parlance.

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

1 participant