citrix / terraform-provider-citrix

Terraform Provider for Citrix
https://registry.terraform.io/providers/citrix/citrix/latest
Apache License 2.0
45 stars 5 forks source link

Terraform plan/apply with AWS shows error #59

Closed SLemonier closed 5 months ago

SLemonier commented 5 months ago

Hello guys,

Not sure if it's a terraform bug or if it's related to the provider but when I do a terraform plan, I get this: CleanShot 2024-04-11 at 17 08 14

Same behaviour when I run terraform apply and nothing is created.

Thanks, Steven

aneeshk-citrix commented 5 months ago

Hi @SLemonier,

With release v0.3.6, we have per connection type hypervisor and per connection type hypervisor resource pool. And with release v0.5.0, we removed daas from resource names.

If you have resources created from before these releases, you can either update the state file to reflect the correct resource names or clean the state file and import these resources and run apply again. Please ensure all resource names in the tf files are also updated.

Thanks, Aneesh

SLemonier commented 5 months ago

Hello @aneeshk-citrix

I deleted the resources, state files and so on, now I don't see the error anymore.

Thanks, Steven