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

bigip-3nic-deploy example fails #10

Open
mjmenger opened this issue Jul 21, 2020 · 1 comment
Open

bigip-3nic-deploy example fails #10

mjmenger opened this issue Jul 21, 2020 · 1 comment

Comments

@mjmenger
Copy link
Contributor

After running terraform init and terraform plan in the examples/bigip-3nic-deploy directory with the following inputs;

var.location
  Resource Group Location

  Enter a value: west-us-2

var.nb_nics
  Specify the number of nic interfaces

  Enter a value: 3

var.nb_public_ip
  Number of public IPs to assign corresponding to one IP per vm. Set to 0 to not assign any public IP addresses.

  Enter a value: 1

the following error returned

Error: Invalid index

  on ../../outputs.tf line 29, in output "onboard_do":
  29:   value = var.nb_nics > 1 ? (var.nb_nics == 2 ? data.template_file.clustermemberDO2[0].rendered : data.template_file.clustermemberDO3[0].rendered) : data.template_file.clustermemberDO1[0].rendered
    |----------------
    | data.template_file.clustermemberDO3 is empty tuple

The given key does not identify an element in this collection value.
@RavinderReddyF5
Copy link
Owner

Thanks for your time and reviewing this module, sure will lookinto issues and work on fixing

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