sbercloud-terraform / terraform-provider-sbercloud

Terraform SberCloud Provider
https://registry.terraform.io/providers/sbercloud-terraform/sbercloud/latest/docs
Mozilla Public License 2.0
34 stars 21 forks source link

Error creating addons in CCE cluster or something wrong with terraform configuration #313

Closed xT10r closed 1 month ago

xT10r commented 2 months ago

Hi, there,

I'm encountering an issue when adding addons to a CCE cluster while applying a Terraform configuration.

Terraform Version

Terraform v1.9.3
on linux_amd64

Sbercloud Provider Version

Sbercloud Provider v.1.12.2

Affected Resource(s)

Terraform Configuration Files

tf-config.zip

Debug Output

https://gist.github.com/xT10r/22909d1e1b5db02c4cce496ce8edb96a

Expected Behavior

Addons should be created and become available with their pods in a normal state.

Actual Behavior

When trying to add addons through Terraform or manually, the addons are added but remain in a "Not Available" state. Additionally, the pods associcated with these addons are in an "Abnormal" status.

If I check the cloud UI, I see the following details:

Steps to Reproduce

    • Add keypair to cloud
    • Set keypair name to cce_node_pool resource
      key_pair  = "cce_keypair"
  1. terraform init

  2. terraform plan

  3. terraform apply

xT10r commented 1 month ago

I found my mistake. The SberCloud Provider is working correctly.