│ Error: missing expected [
│
│ with module.outscale_module.outscale_nic.nic_outscale["testing-terraform-1.0osc"],
│ on .terraform/modules/outscale_module/networks.tf line 39, in resource "outscale_nic" "nic_outscale":
│ 39: resource "outscale_nic" "nic_outscale" {
Expected Behavior
Terraform plan ends succesfully.
Actual Behavior
After going from outscale-dev/outscale v0.5.3 to 1.0.0 , im not able to run my code against existing instances.
Above code work perfectly with 0.5.3, I can create instance and run terraform again and again.
But if I use the 1.0.0 version and the VM was previously created with 0.5.3, I get the attached error.
IF I create the instance with 1.0.0, the issue not happening.
Can you confirm you upgraded to v1 correctly ?
Some block types changed in terraform state and configuration files.
Please refer to the migration part of the README
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform plan ends succesfully.
Actual Behavior
After going from outscale-dev/outscale v0.5.3 to 1.0.0 , im not able to run my code against existing instances. Above code work perfectly with 0.5.3, I can create instance and run terraform again and again. But if I use the 1.0.0 version and the VM was previously created with 0.5.3, I get the attached error.
IF I create the instance with 1.0.0, the issue not happening.
What shoud I do ? I dont see changes between versions in documentation : https://registry.terraform.io/providers/outscale/outscale/0.8.2/docs/resources/nic (oldest available on site) https://registry.terraform.io/providers/outscale/outscale/1.0.0-rc.1/docs/resources/nic