Closed jpichon-OCB closed 3 years ago
@ShiChangkuo please have a look at this ^
@jpichonBZH thanks for raising. The backup function was auto enabled since 1.14.0 version, but it requires the authority of OBS Bucket and IAM Agency. please see here.
Actually, it's no necessary to require the authority if we don't configure backup. I'll fix it soon.
@ShiChangkuo , I know that. I'm in admin group of the tenant, and all access to use bucket and IAM.
maybe you can check your permissions from the document
We check permissions, all are OK, but the plan still exits with error
Error: Error enable snapshot function: Expected HTTP response code [200] when accessing [POST https://css.eu-west-0.prod-cloud-ocb.orange-business.com/v1.0/80ba4a1aac8745eda535af39aa9ee2d1/clusters/bb0505de-22e8-4eca-9505-3f9d6e311adc/index_snapshot/auto_setting], but got 504 instead
{"request_id":"7bc7fb115e7a4e7d39dfeb86d4b56069","error_code":"APIGW.0201","error_msg":"Service CSS timed out (30000 ms)"}
The cluster is created, but I can't manage it, because the tstate doesn't contain CSS details.
@jpichonBZH There should be some issue with the CSS service on API side. We can disable this auto_setting
API call as a workaround if you don't need backup_strategy now.
please try to build the provider with #396
@niuzhenguo Hi, it's working with your modification. Thanks
hi @jpichon-OCB , if this problem is resolved could you please closed it ?
I try to create a CSS service with terraform.
With provider version 1.13.0, the service is created without issue. With version 1.14.0 to 1.16.0, the terraform plan exits with snapshot error.
I don't configure backup in my CSS ressource. So, it's not normal to get snapshot service error.
Terraform Version
v0.13.2
Affected Resource(s)
CSS service
Terraform Configuration Files
Expected Behavior
CSS service is created without issue
Actual Behavior
Terraform exited with 2 different error messages:
or
Steps to Reproduce
terraform apply