-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Terraform & provider version
$ terraform -v
Terraform v1.14.3
on linux_amd64
+ provider registry.terraform.io/clevercloud/clevercloud v1.9.0
Steps to reproduce
- Create a networkgroup resource
- Create an application in the networkgroup
- Push code to the application to make it a running instance, it becomes a Peer
- Run terraform refresh or terraform plan
resource "clevercloud_networkgroup" "vpn" {
name = "ng-${terraform.workspace}"
description = ""
tags = []
}
Expected behavior
Terraform continues plan
Observed behavior
$ terraform plan
clevercloud_networkgroup.vpn: Refreshing state... [id=ng_5b691250-bd41-053d-b07f-1e86c418a54d]
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: failed to get networkgroup
│
│ with clevercloud_networkgroup.vpn,
│ on main.tf line 74, in resource "clevercloud_networkgroup" "vpn":
│ 74: resource "clevercloud_networkgroup" "vpn" {
│
│ cannot parse response body: json: cannot unmarshal object into Go struct field NetworkGroup1.peers of type models.Peer
╵
This issue renders the plan and destroy commands unusable unless -refresh=false is specified.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels