aliyun / terraform-provider-alicloud

Terraform AliCloud provider
https://www.terraform.io/docs/providers/alicloud/
Mozilla Public License 2.0
579 stars 539 forks source link

resource "alicloud_log_audit" with error - Alibaba International site #3516

Open supertom25 opened 3 years ago

supertom25 commented 3 years ago

I try to run a resource alicloud_log_audit to create a new audit log project but failed with below message: image

my script: provider "alicloud" { region = "cn-shanghai" profile = "xxxxxx" }

resource "alicloud_log_audit" "sls-central-log" { display_name = "test" aliuid = "xxxxxxxxxxxxxxx" variable_map = { "actiontrail_enabled" = "true", "actiontrail_ttl" = "180" } multi_account = ["xxxxxxxxxxxxxxx"] }

The provider version in use: v1.122.0

thanks,

steveliu-cn commented 3 years ago

We have encountered same issue here, ap-northeast-1 region is working fine but not in the cn-shanghai region image

xiaozhu36 commented 3 years ago

HI @supertom25 I am sorry for this issue. @HuiJing-C Please have a check.

HuiJing-C commented 3 years ago

@supertom25 please upgrade the provider version to 1.124.1+

supertom25 commented 3 years ago

Hello, thanks for the reply, i confirm no more error when create in shanghai region, and creation was success. just a minor think the terraform destroy success but the resource is not removed in account. not sure if it is an issue, but terraform failed fully manage the resource from what i see. anyway the issue of creation is resolved i can confirm. thanks, you can close it,