terraform-provider-alicloud icon indicating copy to clipboard operation
terraform-provider-alicloud copied to clipboard

Aliyun API Error: RequestId: Status Code: 400 Code: EncryptAlgorithm.NotSupport Message: Encrypt algorithm is not supported

Open eyltl opened this issue 2 years ago • 1 comments

terraform version 1.2.4 aliyun provider 1.174.0

trying to create alicloud_cs_kubernetes_node_pool with the following: system_disk_encrypted = true system_disk_kms_key = alicloud_kms_key.test.id system_disk_encrypt_algorithm = "aes-256"

resource "alicloud_kms_key" "test" { pending_window_in_days = "7" automatic_rotation = "Enabled" status = "Enabled" rotation_interval = "31104000s" key_spec = "Aliyun_AES_256" }

the node pool created with no issue, but after one time creation. every change to the node pool, like change node count or any other attribute that require terraform apply will fail with the following error: Aliyun API Error: RequestId: Status Code: 400 Code: EncryptAlgorithm.NotSupport Message: Encrypt algorithm is not supported

any idea what could be the reason?

eyltl avatar Jul 14 '22 21:07 eyltl

The issue can no longer be reproduced with the latest provider version and should be closed.

mb-shorai avatar Aug 19 '22 14:08 mb-shorai