astronomer / terraform-provider-astro

Astro Terraform Provider
https://registry.terraform.io/providers/astronomer/astro/latest
Other
11 stars 4 forks source link

[bug] Updating workspace resource with empty description errors #86

Closed vandyliu closed 5 months ago

vandyliu commented 5 months ago

Describe the bug

  1. Create workspace resource with non-empty description
  2. Set description to "" and run terraform apply
  3. See error
astro_workspace.my_workspace: Modifying... [id=clx3jwuag04r901j20aqorlg8]
╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to astro_workspace.my_workspace, provider "provider[\"registry.terraform.io/astronomer/astro\"]" produced an
│ unexpected new value: .description: was cty.StringVal(""), but now cty.StringVal("asdfs").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

What Terraform Provider Version and Terraform Version did you experience this bug? latest

What Operating System is the above Terraform Provider installed on?

🪜 Steps To Reproduce

📸 Screenshots