When applying changes to module.mycr.alicloud_cr_endpoint_acl_policy.default, provider "provider[\"registry.terraform.io/aliyun/alicloud\"].eu-central-1" produced an unexpected new value: Root resource was present, but now absent.
found workaround for this issue.
you can split 0.0.0.0/0 to 0.0.0.0/1 and 128.0.0.0/1 ranges then ali successfully apply settings.
so it is looks like as alicloud issue
Terraform Version
1.0.11
Affected Resource(s)
resource "alicloud_cr_endpoint_acl_policy"
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
container registry acl with "0.0.0.0/0" cidr is created:
Actual Behavior
When applying changes to module.mycr.alicloud_cr_endpoint_acl_policy.default, provider "provider[\"registry.terraform.io/aliyun/alicloud\"].eu-central-1" produced an unexpected new value: Root resource was present, but now absent.
Steps to Reproduce
terraform apply
Important Factoids
running on alicloud
References
N/A