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

panic: Index out of range #20188

Closed
spengilley opened this issue Feb 1, 2019 · 2 comments
Closed

panic: Index out of range #20188

spengilley opened this issue Feb 1, 2019 · 2 comments

Comments

@spengilley
Copy link

Terraform Version

version: 0.11.11
...

Terraform Configuration Files

...
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# Create a vApp
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
resource "vcd_vapp" "master" {
    name         = "master"
    depends_on   = ["vcd_network_routed.INTERNET"]
}

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# Create a Vm
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
resource "vcd_vapp_vm" "master" {
    vapp_name     = "${vcd_vapp.master.name}"
    name          = "master"
    
    # Define the catalog and template
    catalog_name  = "VANILLA"
    template_name = "VANILLA"

    # Give the app internet access so that it can be provisioned
    # This network resource is defined in networks.tf
    network_name  = "${vcd_network_routed.INTERNET.name}"
    ip            = "192.168.30.2"
}

Crash Output

https://gist.github.com/spengilley/5e6b0210a23b6d269c0e13d253510005

Expected Behavior

Create a VM

Actual Behavior

Crashes

Steps to Reproduce

  1. terraform init
  2. terraform apply

-->

@apparentlymart apparentlymart changed the title Index out of range panic: Index out of range Feb 1, 2019
@ghost ghost closed this as completed Feb 1, 2019
@ghost
Copy link

ghost commented Feb 1, 2019

This issue has been automatically migrated to terraform-providers/terraform-provider-vcd#161 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-vcd#161.

@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants