volterraedge / terraform-provider-volterra

Volterra's Public Terraform Provider
https://volterra.io
Apache License 2.0
14 stars 11 forks source link

volterra_virtual_site cannot be edited #264

Open michaelbuemi opened 3 months ago

michaelbuemi commented 3 months ago

Unsure if this is an issue with the Terraform provider or the REST API in general. The API docs actually imply that you can replace a virtual site, but doesn't list a "spec" body for those changes.

The Terraform provider appears to attempt to correctly edit the virtual site, but no changes are made.

eissko commented 2 months ago

@michaelbuemi We got the same issue here. We changed the expression of site_selector of virtual site. It is detected by terraform plan. The apply ends as successful but the change is not really propagated into virtual site object in F5 cloud.

eissko commented 2 months ago

@michaelbuemi actually this looks like a feature. I cannot even edit site_selector of virtual site in F5 graphical interface. The virtual site must recreated.

michaelbuemi commented 2 months ago

@eissko yea I couldn't tell what the intent was with this. From a technical perspective, I understand if the virtual site can't be modified once it is in use. Of course, the provider should understand this and reject the configuration.