-
Notifications
You must be signed in to change notification settings - Fork 767
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.Categorizes issue or PR as related to version 5 of the provider.
Description
Confirmation
- This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
- I have searched the issue tracker and my issue isn't already found.
- I have replicated my issue using the latest version of the provider and it is still present.
Terraform and Cloudflare provider version
I have the following resource
resource "cloudflare_total_tls" "cluster_zone_total_tls" {
zone_id = cloudflare_zone.cluster_zone.id
enabled = true
}
when trying to deploy, I see
POST "https://api.cloudflare.com/client/v4/zones/.../acm/total_tls": 400 Bad Request {"success":false,"errors":[{"code":1467,"message":"No state
between current settings and new settings has changed."}],"messages":[]}
I've tried to remove and reimport the resource from state, but I still see the error above
Affected resource(s)
cloudflare_total_tls
Terraform configuration files
resource "cloudflare_total_tls" "cluster_zone_total_tls" {
zone_id = cloudflare_zone.cluster_zone.id
enabled = true
}Link to debug output
ci/cd pipeline
Panic output
No response
Expected output
success
Actual output
POST "https://api.cloudflare.com/client/v4/zones/.../acm/total_tls": 400 Bad Request {"success":false,"errors":[{"code":1467,"message":"No state
between current settings and new settings has changed."}],"messages":[]}
Steps to reproduce
(I don't know how I got the error in the first place , but below is a sure way to get it)
- Create cloudflare_total_tls resource
- `terraform state rm ...
terraform import ...terraform apply ...- Observe above error
Additional factoids
No response
References
No response
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.Categorizes issue or PR as related to version 5 of the provider.