-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
Describe the bug
Changing the name of an existing s3 bucket lead to an error in terraform.
Terraform Version
Terraform v1.13.4
on darwin_arm64
- provider registry.terraform.io/ovh/ovh v2.9.0
Affected Resource(s)
Please list the resources as a list, for example:
- ovh_cloud_project_storage
Terraform Configuration Files
resource "ovh_cloud_project_storage" "test" {
service_name = "XXX"
region_name = "EU-WEST-PAR"
name = "danny-test-one"
}Steps to Reproduce
You need to do 2 terraform apply steps:
- Create a ovh_cloud_project_storage resource
- Change the name of the storage to any other name
Panic Output
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to ovh_cloud_project_storage.test, provider "provider["registry.terraform.io/ovh/ovh"]" produced an unexpected new value: .name: was
│ cty.StringVal("danny-test-two"), but now cty.StringVal("danny-test-one").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Expected Behavior
There should be no error. Probably delete and recreate the bucket with the new name.