sbercloud-terraform / terraform-provider-sbercloud

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

sbercloud_rds_instance / The API does not exist or has not been published in the environment #306

Open udjin10 opened 1 month ago

udjin10 commented 1 month ago

при попытке создани Mysql инстанса получил в процессе ошибку(но сам инстанс был создан) Теперь не могу ни terraform plan ни teraform destroy выполнить. Пробовал и с провайдером версии 1.12.2 и с 1.12.1

module.rds.sbercloud_rds_instance.instance["name-your-instance-1"]: Refreshing state... [id=b02c6a89a068403c9e621ace47f2818fin01]

Planning failed. Terraform encountered an error while generating this plan.

╷ │ Error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/b02c6a89a068403c9e621ace47f2818fin01/binlog/clear-policy], request_id: b5722a31a69fc4a9d4bc24e14c20ddf1, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"b5722a31a69fc4a9d4bc24e14c20ddf1"} │ │

terraform {
  required_version = "~>v1.8.4"

  required_providers {
    sbercloud = {
      source  = "tf.repo.sbc.space/sbercloud-terraform/sbercloud"
      version = "~>1.12.2"
    }
  }
}

# Configure Advanced provider
provider "sbercloud" {
  auth_url = "https://iam.ru-moscow-1.hc.sbercloud.ru/v3" # Authorization address
  region   = "ru-moscow-1"                                # The region where the cloud infrastructure will be deployed

  # Authorization keys
  access_key = var.access_key
  secret_key =  var.secret_key
}

resource "sbercloud_rds_instance" "myinstance" {
  enterprise_project_id = data.terraform_remote_state.projects.outputs.project_ids["pilot"]
  name                  = "mysql_instance"
  flavor                = "rds.mysql.n1.large.2"
  # ha_replication_mode = "semisync"
  vpc_id            = data.terraform_remote_state.vpc.outputs.vpc_ids["name_your_vpc_1"]
  subnet_id         = data.terraform_remote_state.vpc.outputs.subnet_ids["name_your_subnet_1"]
  security_group_id = sbercloud_networking_secgroup.mysecgroup.id
  availability_zone = ["ru-moscow-1a"]

  db {
    type     = "MySQL"
    version  = "8.0"
    port     = 13306
    password = "ufg-drv-xrtY-qtrR"
  }
  fixed_ip            = "10.0.0.17"
  ha_replication_mode = ""
  volume {
    type = "CLOUDSSD"
    size = 200
  }
  backup_strategy {
    keep_days  = 7
    start_time = "02:00-03:00"
  }
  binlog_retention_hours = 0
  switch_strategy        = "reliability"
  # parameters {

  # }

}

│ with module.rds.sbercloud_rds_instance.instance["name-your-instance-1"], │ on .terraform/modules/rds/SberCloud/Database/rds/instance.tf line 2, in resource "sbercloud_rds_instance" "instance": │ 2: resource "sbercloud_rds_instance" "instance" {

udjin10 commented 1 month ago
2024-08-15T17:50:33.011+0300 [DEBUG] Starting graph walk: walkValidate
2024-08-15T17:50:33.011+0300 [DEBUG] created provider logger: level=debug
2024-08-15T17:50:33.012+0300 [INFO]  provider: configuring client automatic mTLS
2024-08-15T17:50:33.014+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5"]
2024-08-15T17:50:33.014+0300 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 pid=23541
2024-08-15T17:50:33.014+0300 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5
2024-08-15T17:50:33.017+0300 [INFO]  provider.terraform-provider-random_v3.6.2_x5: configuring server automatic mTLS: timestamp="2024-08-15T17:50:33.016+0300"
2024-08-15T17:50:33.022+0300 [DEBUG] provider: using plugin: version=5
2024-08-15T17:50:33.022+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: plugin address: address=/tmp/plugin888550752 network=unix timestamp="2024-08-15T17:50:33.022+0300"
2024-08-15T17:50:33.028+0300 [DEBUG] created provider logger: level=debug
2024-08-15T17:50:33.028+0300 [INFO]  provider: configuring client automatic mTLS
2024-08-15T17:50:33.028+0300 [DEBUG] Initializing remote state backend: local
2024-08-15T17:50:33.030+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 args=[".terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1"]
2024-08-15T17:50:33.030+0300 [DEBUG] provider: plugin started: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 pid=23549
2024-08-15T17:50:33.030+0300 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1
2024-08-15T17:50:33.034+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: configuring server automatic mTLS: timestamp="2024-08-15T17:50:33.033+0300"
2024-08-15T17:50:33.043+0300 [DEBUG] provider: using plugin: version=5
2024-08-15T17:50:33.043+0300 [DEBUG] provider.terraform-provider-sbercloud_v1.12.1: plugin address: address=/tmp/plugin1364368239 network=unix timestamp="2024-08-15T17:50:33.043+0300"
2024-08-15T17:50:33.048+0300 [DEBUG] Initializing remote state backend: local
2024-08-15T17:50:33.049+0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-15T17:50:33.050+0300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 pid=23541
2024-08-15T17:50:33.050+0300 [DEBUG] provider: plugin exited
2024-08-15T17:50:33.084+0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-15T17:50:33.085+0300 [DEBUG] provider: plugin process exited: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 pid=23549
2024-08-15T17:50:33.085+0300 [DEBUG] provider: plugin exited
2024-08-15T17:50:33.085+0300 [INFO]  backend/local: apply calling Plan
2024-08-15T17:50:33.085+0300 [DEBUG] Building and walking plan graph for NormalMode
2024-08-15T17:50:33.085+0300 [DEBUG] adding implicit provider configuration provider["terraform.io/builtin/terraform"], implied first by data.terraform_remote_state.projects (expand)
2024-08-15T17:50:33.085+0300 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/random"], implied first by random_password.mysql (expand)
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "random_password.mysql (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/random"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "sbercloud_vpc_eip.myeip (expand)" (*terraform.nodeExpandPlannableResource) needs provider["tf.repo.sbc.space/sbercloud-terraform/sbercloud"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "data.terraform_remote_state.projects (expand)" (*terraform.nodeExpandPlannableResource) needs provider["terraform.io/builtin/terraform"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "data.terraform_remote_state.vpc (expand)" (*terraform.nodeExpandPlannableResource) needs provider["terraform.io/builtin/terraform"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "sbercloud_networking_secgroup.mysecgroup (expand)" (*terraform.nodeExpandPlannableResource) needs provider["tf.repo.sbc.space/sbercloud-terraform/sbercloud"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "sbercloud_networking_secgroup_rule.allow_rds (expand)" (*terraform.nodeExpandPlannableResource) needs provider["tf.repo.sbc.space/sbercloud-terraform/sbercloud"]
2024-08-15T17:50:33.085+0300 [DEBUG] ProviderTransformer: "sbercloud_rds_instance.myinstance (expand)" (*terraform.nodeExpandPlannableResource) needs provider["tf.repo.sbc.space/sbercloud-terraform/sbercloud"]
2024-08-15T17:50:33.085+0300 [ERROR] AttachSchemaTransformer: No provider config schema available for provider["terraform.io/builtin/terraform"]
2024-08-15T17:50:33.085+0300 [DEBUG] ReferenceTransformer: "sbercloud_vpc_eip.myeip (expand)" references: []
2024-08-15T17:50:33.085+0300 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.projects (expand)" references: []
2024-08-15T17:50:33.085+0300 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.vpc (expand)" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "provider[\"tf.repo.sbc.space/sbercloud-terraform/sbercloud\"]" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "random_password.mysql (expand)" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "sbercloud_networking_secgroup_rule.allow_rds (expand)" references: [sbercloud_networking_secgroup.mysecgroup (expand)]
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "sbercloud_rds_instance.myinstance (expand)" references: [data.terraform_remote_state.vpc (expand) data.terraform_remote_state.vpc (expand) sbercloud_networking_secgroup.mysecgroup (expand) random_password.mysql (expand)]
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "provider[\"terraform.io/builtin/terraform\"]" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/random\"]" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "sbercloud_networking_secgroup.mysecgroup (expand)" references: []
2024-08-15T17:50:33.086+0300 [DEBUG] Starting graph walk: walkPlan
2024-08-15T17:50:33.086+0300 [DEBUG] created provider logger: level=debug
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.vpc" references: []
2024-08-15T17:50:33.086+0300 [INFO]  provider: configuring client automatic mTLS
2024-08-15T17:50:33.086+0300 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.projects" references: []
2024-08-15T17:50:33.089+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5"]
2024-08-15T17:50:33.089+0300 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 pid=23560
2024-08-15T17:50:33.089+0300 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5
2024-08-15T17:50:33.091+0300 [INFO]  provider.terraform-provider-random_v3.6.2_x5: configuring server automatic mTLS: timestamp="2024-08-15T17:50:33.091+0300"
2024-08-15T17:50:33.097+0300 [DEBUG] provider: using plugin: version=5
2024-08-15T17:50:33.097+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: plugin address: address=/tmp/plugin2019304670 network=unix timestamp="2024-08-15T17:50:33.097+0300"
2024-08-15T17:50:33.102+0300 [DEBUG] created provider logger: level=debug
2024-08-15T17:50:33.102+0300 [INFO]  provider: configuring client automatic mTLS
2024-08-15T17:50:33.104+0300 [DEBUG] provider: starting plugin: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 args=[".terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1"]
2024-08-15T17:50:33.104+0300 [DEBUG] provider: plugin started: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 pid=23568
2024-08-15T17:50:33.104+0300 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1
2024-08-15T17:50:33.108+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: configuring server automatic mTLS: timestamp="2024-08-15T17:50:33.108+0300"
2024-08-15T17:50:33.121+0300 [DEBUG] provider: using plugin: version=5
2024-08-15T17:50:33.121+0300 [DEBUG] provider.terraform-provider-sbercloud_v1.12.1: plugin address: address=/tmp/plugin2262319420 network=unix timestamp="2024-08-15T17:50:33.121+0300"
2024-08-15T17:50:33.126+0300 [DEBUG] Initializing remote state backend: local
data.terraform_remote_state.projects: Reading...
2024-08-15T17:50:33.126+0300 [DEBUG] Initializing remote state backend: local
data.terraform_remote_state.vpc: Reading...
2024-08-15T17:50:33.126+0300 [DEBUG] Initializing remote state backend: local
2024-08-15T17:50:33.126+0300 [DEBUG] Initializing remote state backend: local
data.terraform_remote_state.projects: Read complete after 0s
2024-08-15T17:50:33.127+0300 [DEBUG] ReferenceTransformer: "random_password.mysql" references: []
data.terraform_remote_state.vpc: Read complete after 0s
random_password.mysql: Refreshing state... [id=none]
2024-08-15T17:50:33.129+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=min_numeric tf_rpc=ReadResource tf_resource_type=random_password @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_attribute_path=length tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_rpc=ReadResource tf_resource_type=random_password timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_resource_type=random_password @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=bcrypt_hash timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=lower tf_provider_addr=registry.terraform.io/hashicorp/random @module=sdk.framework tf_resource_type=random_password tf_rpc=ReadResource timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_attribute_path=id tf_provider_addr=registry.terraform.io/hashicorp/random tf_resource_type=random_password tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_attribute_path=min_lower tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_rpc=ReadResource @module=sdk.framework tf_resource_type=random_password timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=number tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_resource_type=random_password @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 timestamp="2024-08-15T17:50:33.128+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=min_upper tf_provider_addr=registry.terraform.io/hashicorp/random tf_rpc=ReadResource @module=sdk.framework @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_resource_type=random_password timestamp="2024-08-15T17:50:33.129+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=override_special tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_resource_type=random_password timestamp="2024-08-15T17:50:33.129+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=numeric tf_resource_type=random_password @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_rpc=ReadResource tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 timestamp="2024-08-15T17:50:33.129+0300"
2024-08-15T17:50:33.130+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=upper tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 tf_provider_addr=registry.terraform.io/hashicorp/random tf_resource_type=random_password tf_rpc=ReadResource timestamp="2024-08-15T17:50:33.129+0300"
2024-08-15T17:50:33.131+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_attribute_path=result tf_provider_addr=registry.terraform.io/hashicorp/random @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_resource_type=random_password tf_rpc=ReadResource timestamp="2024-08-15T17:50:33.129+0300"
2024-08-15T17:50:33.132+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: tf_resource_type=random_password tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 tf_attribute_path=min_special timestamp="2024-08-15T17:50:33.132+0300"
2024-08-15T17:50:33.132+0300 [DEBUG] provider.terraform-provider-random_v3.6.2_x5: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.8.0/internal/fwschemadata/value_semantic_equality.go:87 @module=sdk.framework tf_resource_type=random_password tf_rpc=ReadResource tf_attribute_path=special tf_provider_addr=registry.terraform.io/hashicorp/random tf_req_id=81533127-b694-e0e2-3481-fc07bca11599 timestamp="2024-08-15T17:50:33.132+0300"
2024-08-15T17:50:33.136+0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-15T17:50:33.137+0300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.2/linux_amd64/terraform-provider-random_v3.6.2_x5 pid=23560
2024-08-15T17:50:33.137+0300 [DEBUG] provider: plugin exited
2024-08-15T17:50:33.144+0300 [WARN]  ValidateProviderConfig from "provider[\"tf.repo.sbc.space/sbercloud-terraform/sbercloud\"]" changed the config value, but that value is unused
2024-08-15T17:50:33.285+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433144-1] API Request URL: GET https://iam.ru-moscow-1.hc.sbercloud.ru/v3/projects?name=ru-moscow-1
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.285+0300"
2024-08-15T17:50:33.285+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433144-1] API Response Code: 200
API Response Headers:
Cache-Control: no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Length: 469
Content-Type: application/json; charset=UTF-8
Date: Thu, 15 Aug 2024 14:50:33 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Iam-Trace-Id: cache_global_null_9d4ef58255b0efb06369a01b8d2bce05
X-Request-Id: 270875d518fb3217f305e645ce9f68f5
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.285+0300"
2024-08-15T17:50:33.285+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433144-1] API Response Body: {
  "links": {
    "next": null,
    "previous": null,
    "self": "https://iam.ru-moscow-1.hc.sbercloud.ru/v3/projects?name=ru-moscow-1"
  },
  "projects": [
    {
      "description": "",
      "domain_id": "1fe0546a75624675ba1ce2c784009ef4",
      "enabled": true,
      "id": "1b1b6ee72c7c49f8b89a95568365b985",
      "is_domain": false,
      "links": {
        "next": null,
        "previous": null,
        "self": "https://iam.ru-moscow-1.hc.sbercloud.ru/v3/projects/1b1b6ee72c7c49f8b89a95568365b985"
      },
      "name": "ru-moscow-1",
      "parent_id": "1fe0546a75624675ba1ce2c784009ef4"
    }
  ]
}: timestamp="2024-08-15T17:50:33.285+0300"
2024-08-15T17:50:33.285+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] init region and project map: map[string]string{"ru-moscow-1":"1b1b6ee72c7c49f8b89a95568365b985"}: timestamp="2024-08-15T17:50:33.285+0300"
2024-08-15T17:50:33.429+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433285-2] API Request URL: GET https://iam.ru-moscow-1.hc.sbercloud.ru/v3/auth/domains
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.429+0300"
2024-08-15T17:50:33.429+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433285-2] API Response Code: 200
API Response Headers:
Cache-Control: no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Length: 287
Content-Type: application/json; charset=UTF-8
Date: Thu, 15 Aug 2024 14:50:33 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Iam-Trace-Id: token_global_null_fc6cda17892c261228710e825ecd318d
X-Request-Id: 407474e6eef3a85a564c11bc662d1ca4
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.429+0300"
2024-08-15T17:50:33.429+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433285-2] API Response Body: {
  "domains": [
    {
      "description": "",
      "enabled": true,
      "id": "1fe0546a75624675ba1ce2c784009ef4",
      "links": {
        "self": "https://iam.ru-moscow-1.hc.sbercloud.ru/v3/domains/1fe0546a75624675ba1ce2c784009ef4"
      },
      "name": "netology-adv"
    }
  ],
  "links": {
    "self": "https://iam.ru-moscow-1.hc.sbercloud.ru/v3/auth/domains"
  }
}: timestamp="2024-08-15T17:50:33.429+0300"
2024-08-15T17:50:33.429+0300 [DEBUG] ReferenceTransformer: "sbercloud_networking_secgroup.mysecgroup" references: []
2024-08-15T17:50:33.429+0300 [DEBUG] ReferenceTransformer: "sbercloud_vpc_eip.myeip" references: []
sbercloud_vpc_eip.myeip: Refreshing state... [id=32d1e389-7dd1-4143-8fbd-823dc6bdc70e]
sbercloud_networking_secgroup.mysecgroup: Refreshing state... [id=6475ce70-d623-4759-965e-46733132b745]
2024-08-15T17:50:33.611+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433432-4] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v1/1b1b6ee72c7c49f8b89a95568365b985/security-groups/6475ce70-d623-4759-965e-46733132b745
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.611+0300"
2024-08-15T17:50:33.611+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433432-4] API Response Code: 200
API Response Headers:
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: 6c0082d296801358a5b3108f0f4ce961
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.611+0300"
2024-08-15T17:50:33.611+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433432-4] API Response Body: {
  "security_group": {
    "description": "a basic security group",
    "enterprise_project_id": "0",
    "id": "6475ce70-d623-4759-965e-46733132b745",
    "name": "mysecgroup",
    "security_group_rules": [
      {
        "description": "",
        "direction": "ingress",
        "ethertype": "IPv4",
        "id": "b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f",
        "port_range_max": 3306,
        "port_range_min": 3306,
        "protocol": "tcp",
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": "0.0.0.0/0",
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
      },
      {
        "description": null,
        "direction": "egress",
        "ethertype": "IPv6",
        "id": "c9b169fc-d5f8-4a3d-bcb4-eeed812e2c7e",
        "port_range_max": null,
        "port_range_min": null,
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
      },
      {
        "description": null,
        "direction": "ingress",
        "ethertype": "IPv4",
        "id": "f80f8496-aa64-47c2-a245-71df0bc29344",
        "port_range_max": null,
        "port_range_min": null,
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
      },
      {
        "description": null,
        "direction": "ingress",
        "ethertype": "IPv6",
        "id": "52f9943f-474c-4071-be03-eac3fc30338a",
        "port_range_max": null,
        "port_range_min": null,
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
      },
      {
        "description": null,
        "direction": "egress",
        "ethertype": "IPv4",
        "id": "85a62913-4f91-4df6-a548-c123b77fd7d2",
        "port_range_max": null,
        "port_range_min": null,
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
      }
    ]
  }
}: timestamp="2024-08-15T17:50:33.611+0300"
2024-08-15T17:50:33.611+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] Retrieved Security Group (6475ce70-d623-4759-965e-46733132b745) by v1 client: &{mysecgroup a basic security group 6475ce70-d623-4759-965e-46733132b745  [{b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f  6475ce70-d623-4759-965e-46733132b745 ingress IPv4 tcp 0xc000132a80 0xc000132a78 0.0.0.0/0 } {c9b169fc-d5f8-4a3d-bcb4-eeed812e2c7e  6475ce70-d623-4759-965e-46733132b745 egress IPv6  <nil> <nil>  } {f80f8496-aa64-47c2-a245-71df0bc29344  6475ce70-d623-4759-965e-46733132b745 ingress IPv4  <nil> <nil>  6475ce70-d623-4759-965e-46733132b745} {52f9943f-474c-4071-be03-eac3fc30338a  6475ce70-d623-4759-965e-46733132b745 ingress IPv6  <nil> <nil>  6475ce70-d623-4759-965e-46733132b745} {85a62913-4f91-4df6-a548-c123b77fd7d2  6475ce70-d623-4759-965e-46733132b745 egress IPv4  <nil> <nil>  }] 0}: timestamp="2024-08-15T17:50:33.611+0300"
2024-08-15T17:50:33.701+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433431-3] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v1/1b1b6ee72c7c49f8b89a95568365b985/publicips/32d1e389-7dd1-4143-8fbd-823dc6bdc70e
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.701+0300"
2024-08-15T17:50:33.701+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433431-3] API Response Code: 200
API Response Headers:
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: 7f7fb75bcfecff802de3dd445b62b80d
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.701+0300"
2024-08-15T17:50:33.701+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433431-3] API Response Body: {
  "publicip": {
    "allow_share_bandwidth_types": [
      "share"
    ],
    "bandwidth_id": "3d4f646f-2963-490b-adfc-27e97d107b11",
    "bandwidth_name": "test",
    "bandwidth_share_type": "PER",
    "bandwidth_size": 5,
    "create_time": "2024-08-15 11:53:56",
    "enterprise_project_id": "0",
    "id": "32d1e389-7dd1-4143-8fbd-823dc6bdc70e",
    "ip_version": 4,
    "profile": {},
    "public_border_group": "center",
    "public_ip_address": "87.242.91.248",
    "status": "DOWN",
    "tags": [],
    "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985",
    "type": "5_bgp"
  }
}: timestamp="2024-08-15T17:50:33.701+0300"
2024-08-15T17:50:33.729+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433611-5] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/vpc/security-groups/6475ce70-d623-4759-965e-46733132b745
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.728+0300"
2024-08-15T17:50:33.729+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433611-5] API Response Code: 200
API Response Headers:
Connection: keep-alive
Content-Length: 2548
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Handler-Trace: C->Q
X-Openstack-Request-Id: Req-fb66202b9f30797c8d21ac081200fe4a
X-Request-Id: fb66202b9f30797c8d21ac081200fe4a
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.728+0300"
2024-08-15T17:50:33.729+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433611-5] API Response Body: {
  "request_id": "fb66202b9f30797c8d21ac081200fe4a",
  "security_group": {
    "created_at": "2024-08-15T11:53:55Z",
    "description": "a basic security group",
    "enterprise_project_id": "0",
    "id": "6475ce70-d623-4759-965e-46733132b745",
    "name": "mysecgroup",
    "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
    "security_group_rules": [
      {
        "action": "allow",
        "created_at": "2024-08-15T11:53:56Z",
        "description": "",
        "direction": "ingress",
        "ethertype": "IPv4",
        "id": "b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f",
        "multiport": "3306",
        "priority": 1,
        "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
        "protocol": "tcp",
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": "0.0.0.0/0",
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "updated_at": "2024-08-15T11:53:56Z"
      },
      {
        "action": "allow",
        "created_at": "2024-08-15T11:53:55Z",
        "description": "",
        "direction": "ingress",
        "ethertype": "IPv6",
        "id": "52f9943f-474c-4071-be03-eac3fc30338a",
        "multiport": null,
        "priority": 100,
        "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "updated_at": "2024-08-15T11:53:55Z"
      },
      {
        "action": "allow",
        "created_at": "2024-08-15T11:53:55Z",
        "description": "",
        "direction": "egress",
        "ethertype": "IPv6",
        "id": "c9b169fc-d5f8-4a3d-bcb4-eeed812e2c7e",
        "multiport": null,
        "priority": 100,
        "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "updated_at": "2024-08-15T11:53:55Z"
      },
      {
        "action": "allow",
        "created_at": "2024-08-15T11:53:55Z",
        "description": "",
        "direction": "egress",
        "ethertype": "IPv4",
        "id": "85a62913-4f91-4df6-a548-c123b77fd7d2",
        "multiport": null,
        "priority": 100,
        "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": null,
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "updated_at": "2024-08-15T11:53:55Z"
      },
      {
        "action": "allow",
        "created_at": "2024-08-15T11:53:55Z",
        "description": "",
        "direction": "ingress",
        "ethertype": "IPv4",
        "id": "f80f8496-aa64-47c2-a245-71df0bc29344",
        "multiport": null,
        "priority": 100,
        "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
        "protocol": null,
        "remote_address_group_id": null,
        "remote_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "remote_ip_prefix": null,
        "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
        "updated_at": "2024-08-15T11:53:55Z"
      }
    ],
    "updated_at": "2024-08-15T11:53:55Z"
  }
}: timestamp="2024-08-15T17:50:33.729+0300"
2024-08-15T17:50:33.729+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] Retrieved Security Group (6475ce70-d623-4759-965e-46733132b745) by v3 client: &{mysecgroup a basic security group 6475ce70-d623-4759-965e-46733132b745  0 [{b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f  6475ce70-d623-4759-965e-46733132b745 ingress tcp IPv4 3306 allow 1 0.0.0.0/0   2024-08-15T11:53:56Z 2024-08-15T11:53:56Z 1b1b6ee72c7c49f8b89a95568365b985} {52f9943f-474c-4071-be03-eac3fc30338a  6475ce70-d623-4759-965e-46733132b745 ingress  IPv6  allow 100  6475ce70-d623-4759-965e-46733132b745  2024-08-15T11:53:55Z 2024-08-15T11:53:55Z 1b1b6ee72c7c49f8b89a95568365b985} {c9b169fc-d5f8-4a3d-bcb4-eeed812e2c7e  6475ce70-d623-4759-965e-46733132b745 egress  IPv6  allow 100    2024-08-15T11:53:55Z 2024-08-15T11:53:55Z 1b1b6ee72c7c49f8b89a95568365b985} {85a62913-4f91-4df6-a548-c123b77fd7d2  6475ce70-d623-4759-965e-46733132b745 egress  IPv4  allow 100    2024-08-15T11:53:55Z 2024-08-15T11:53:55Z 1b1b6ee72c7c49f8b89a95568365b985} {f80f8496-aa64-47c2-a245-71df0bc29344  6475ce70-d623-4759-965e-46733132b745 ingress  IPv4  allow 100  6475ce70-d623-4759-965e-46733132b745  2024-08-15T11:53:55Z 2024-08-15T11:53:55Z 1b1b6ee72c7c49f8b89a95568365b985}] 1b1b6ee72c7c49f8b89a95568365b985 2024-08-15T11:53:55Z 2024-08-15T11:53:55Z}: timestamp="2024-08-15T17:50:33.729+0300"
2024-08-15T17:50:33.733+0300 [DEBUG] ReferenceTransformer: "sbercloud_networking_secgroup_rule.allow_rds" references: []
2024-08-15T17:50:33.734+0300 [DEBUG] ReferenceTransformer: "sbercloud_rds_instance.myinstance" references: []
sbercloud_networking_secgroup_rule.allow_rds: Refreshing state... [id=b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f]
sbercloud_rds_instance.myinstance: Refreshing state... [id=964289521a0247ffa4b4c915db501dd1in01]
2024-08-15T17:50:33.792+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433701-6] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v1/1b1b6ee72c7c49f8b89a95568365b985/bandwidths/3d4f646f-2963-490b-adfc-27e97d107b11
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.792+0300"
2024-08-15T17:50:33.792+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433701-6] API Response Code: 200
API Response Headers:
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: d61b3e003bdfbb454704539872d83ca4
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.792+0300"
2024-08-15T17:50:33.792+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433701-6] API Response Body: {
  "bandwidth": {
    "bandwidth_type": "bgp",
    "billing_info": "",
    "charge_mode": "traffic",
    "created_at": "2024-08-15T11:53:56Z",
    "enterprise_project_id": "0",
    "id": "3d4f646f-2963-490b-adfc-27e97d107b11",
    "name": "test",
    "public_border_group": "center",
    "publicip_info": [
      {
        "ip_version": 4,
        "publicip_address": "87.242.91.248",
        "publicip_id": "32d1e389-7dd1-4143-8fbd-823dc6bdc70e",
        "publicip_type": "5_bgp"
      }
    ],
    "share_type": "PER",
    "size": 5,
    "status": "NORMAL",
    "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985",
    "updated_at": "2024-08-15T11:53:56Z"
  }
}: timestamp="2024-08-15T17:50:33.792+0300"
2024-08-15T17:50:33.829+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433737-7] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v1/1b1b6ee72c7c49f8b89a95568365b985/security-group-rules/b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.829+0300"
2024-08-15T17:50:33.829+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433737-7] API Response Code: 200
API Response Headers:
Accept-Ranges: bytes
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: 09cf0d607b5f45a16820657fa0a93d05
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.829+0300"
2024-08-15T17:50:33.829+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433737-7] API Response Body: {
  "security_group_rule": {
    "description": "",
    "direction": "ingress",
    "ethertype": "IPv4",
    "id": "b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f",
    "port_range_max": 3306,
    "port_range_min": 3306,
    "protocol": "tcp",
    "remote_address_group_id": null,
    "remote_group_id": null,
    "remote_ip_prefix": "0.0.0.0/0",
    "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
    "tenant_id": "1b1b6ee72c7c49f8b89a95568365b985"
  }
}: timestamp="2024-08-15T17:50:33.829+0300"
2024-08-15T17:50:33.838+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433792-9] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/eip/publicips/32d1e389-7dd1-4143-8fbd-823dc6bdc70e
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.838+0300"
2024-08-15T17:50:33.838+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433792-9] API Response Code: 404
API Response Headers:
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
X-Request-Id: ec2f99831e2f6f9107bb583daf3b80d3: timestamp="2024-08-15T17:50:33.838+0300"
2024-08-15T17:50:33.838+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433792-9] API Response Body: {
  "error_code": "APIGW.0101",
  "error_msg": "The API does not exist: method GET not found",
  "request_id": "ec2f99831e2f6f9107bb583daf3b80d3"
}: timestamp="2024-08-15T17:50:33.838+0300"
2024-08-15T17:50:33.839+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [WARN] failed to fetch the info for EIP (32d1e389-7dd1-4143-8fbd-823dc6bdc70e) from v3 API: Resource not found: [GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/eip/publicips/32d1e389-7dd1-4143-8fbd-823dc6bdc70e], request_id: ec2f99831e2f6f9107bb583daf3b80d3, error message: {"error_msg":"The API does not exist: method GET not found","error_code":"APIGW.0101","request_id":"ec2f99831e2f6f9107bb583daf3b80d3"}: timestamp="2024-08-15T17:50:33.838+0300"
2024-08-15T17:50:33.842+0300 [WARN]  Provider "tf.repo.sbc.space/sbercloud-terraform/sbercloud" produced an invalid plan for sbercloud_vpc_eip.myeip, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .name: planned value cty.StringVal("") for a non-computed attribute
      - .tags: planned value cty.MapValEmpty(cty.String) for a non-computed attribute
2024-08-15T17:50:33.917+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433739-8] API Request URL: GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances?id=964289521a0247ffa4b4c915db501dd1in01
API Request Headers:
Accept: application/json
Authorization: ***
Content-Type: application/json
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.917+0300"
2024-08-15T17:50:33.917+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433739-8] API Response Code: 200
API Response Headers:
Cache-Control: no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: 24bdb21ca24193a45cfe6fecc46f989b
X-Trace-Id: d4e9bc7a-3a2e-4c14-908f-8a2433026eb0
X-Webkit-Csp: default-src 'self' 'unsafe-inline' 'unsafe-eval'
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.917+0300"
2024-08-15T17:50:33.917+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433739-8] API Response Body: {
  "instances": [
    {
      "alias": "",
      "associated_with_ddm": false,
      "backup_strategy": {
        "keep_days": 7,
        "start_time": "02:00-03:00"
      },
      "bpDomainId": "",
      "bpType": "Default",
      "charge_info": {
        "charge_mode": "postPaid"
      },
      "cpu": "2",
      "created": "2024-08-15T12:24:40+0000",
      "datastore": {
        "complete_version": "8.0.32.240100",
        "type": "MySQL",
        "version": "8.0"
      },
      "db_user_name": "root",
      "disk_encryption_id": "",
      "enable_ssl": false,
      "enterprise_project_id": "0",
      "flavor_ref": "rds.mysql.n1.large.2",
      "ha": {},
      "id": "964289521a0247ffa4b4c915db501dd1in01",
      "maintenance_window": "18:00-22:00",
      "mem": "4",
      "name": "mysql_instance",
      "nodes": [
        {
          "availability_zone": "ru-moscow-1a",
          "id": "bb1729d977d549deaddda5210b541d40no01",
          "name": "mysql_instance_node0",
          "role": "master",
          "status": "ACTIVE"
        }
      ],
      "order_id": "",
      "port": 3306,
      "private_dns_names": [],
      "private_ips": [
        "10.0.0.17"
      ],
      "private_read_only_dns_names": [],
      "private_read_only_ips": [],
      "public_dns_names": [],
      "public_ips": [],
      "read_only_by_user": false,
      "region": "ru-moscow-1",
      "related_instance": [],
      "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
      "status": "ACTIVE",
      "subnet_id": "13bfa89c-775c-4d66-9810-5f0d9ecc554b",
      "switch_strategy": "",
      "tags": [],
      "time_zone": "UTC",
      "type": "Single",
      "updated": "2024-08-15T13:20:45+0000",
      "volume": {
        "size": 200,
        "type": "CLOUDSSD"
      },
      "vpc_id": "b1eee637-202f-4456-a464-92f56910ff38"
    }
  ],
  "total_count": 1
}: timestamp="2024-08-15T17:50:33.917+0300"
2024-08-15T17:50:33.917+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] Retrieved RDS instance (964289521a0247ffa4b4c915db501dd1in01): &instances.RdsInstanceResponse{Id:"964289521a0247ffa4b4c915db501dd1in01", Name:"mysql_instance", Status:"ACTIVE", PrivateIps:[]string{"10.0.0.17"}, PublicIps:[]string{}, Port:3306, Type:"Single", Ha:instances.Ha{Mode:"", ReplicationMode:""}, Region:"ru-moscow-1", DataStore:instances.Datastore{Type:"MySQL", Version:"8.0", CompleteVersion:"8.0.32.240100"}, Created:"2024-08-15T12:24:40+0000", Updated:"2024-08-15T13:20:45+0000", DbUserName:"root", VpcId:"b1eee637-202f-4456-a464-92f56910ff38", SubnetId:"13bfa89c-775c-4d66-9810-5f0d9ecc554b", SecurityGroupId:"6475ce70-d623-4759-965e-46733132b745", FlavorRef:"rds.mysql.n1.large.2", Volume:instances.Volume{Type:"CLOUDSSD", Size:200}, SwitchStrategy:"", BackupStrategy:instances.BackupStrategy{StartTime:"02:00-03:00", KeepDays:7}, ChargeInfo:instances.ChargeResponse{ChargeMode:"postPaid"}, MaintenanceWindow:"18:00-22:00", Collation:"", Nodes:[]instances.Nodes{instances.Nodes{Id:"bb1729d977d549deaddda5210b541d40no01", Name:"mysql_instance_node0", Role:"master", Status:"ACTIVE", AvailabilityZone:"ru-moscow-1a"}}, RelatedInstance:[]instances.RelatedInstance{}, DiskEncryptionId:"", EnterpriseProjectId:"0", TimeZone:"UTC", Alias:"", AssociatedWithDdm:false, BackupUsedSpace:0, Cpu:"2", EnableSsl:false, ExpirationTime:"", MaxIops:0, Mem:"4", PrivateDnsNames:[]string{}, ReadOnlyByUser:false, StorageUsedSpace:0, Tags:[]tags.ResourceTag{}}: timestamp="2024-08-15T17:50:33.917+0300"
2024-08-15T17:50:33.924+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433829-10] API Request URL: GET https://vpc.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/vpc/security-group-rules/b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f
API Request Headers:
Accept: application/json
Authorization: ***
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.924+0300"
2024-08-15T17:50:33.924+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433829-10] API Response Code: 200
API Response Headers:
Connection: keep-alive
Content-Length: 505
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Aug 2024 14:50:33 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Handler-Trace: C->Q
X-Openstack-Request-Id: Req-10b72d7c0db977b97b167e5eef7e1027
X-Request-Id: 10b72d7c0db977b97b167e5eef7e1027
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:33.924+0300"
2024-08-15T17:50:33.924+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433829-10] API Response Body: {
  "request_id": "10b72d7c0db977b97b167e5eef7e1027",
  "security_group_rule": {
    "action": "allow",
    "created_at": "2024-08-15T11:53:56Z",
    "description": "",
    "direction": "ingress",
    "ethertype": "IPv4",
    "id": "b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f",
    "multiport": "3306",
    "priority": 1,
    "project_id": "1b1b6ee72c7c49f8b89a95568365b985",
    "protocol": "tcp",
    "remote_address_group_id": null,
    "remote_group_id": null,
    "remote_ip_prefix": "0.0.0.0/0",
    "security_group_id": "6475ce70-d623-4759-965e-46733132b745",
    "updated_at": "2024-08-15T11:53:56Z"
  }
}: timestamp="2024-08-15T17:50:33.924+0300"
2024-08-15T17:50:33.924+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] Retrieved Security Group rule (b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f): &{ID:b1f90ce6-d0ad-4fe5-a8a7-2c5add08db5f Description: SecurityGroupId:6475ce70-d623-4759-965e-46733132b745 Direction:ingress Protocol:tcp Ethertype:IPv4 MultiPort:3306 Action:allow Priority:1 RemoteIpPrefix:0.0.0.0/0 RemoteGroupId: RemoteAddressGroupId: CreateAt:2024-08-15T11:53:56Z UpdateAt:2024-08-15T11:53:56Z ProjectId:1b1b6ee72c7c49f8b89a95568365b985}: timestamp="2024-08-15T17:50:33.924+0300"
2024-08-15T17:50:33.926+0300 [WARN]  Provider "tf.repo.sbc.space/sbercloud-terraform/sbercloud" produced an invalid plan for sbercloud_networking_secgroup_rule.allow_rds, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .description: planned value cty.StringVal("") for a non-computed attribute
2024-08-15T17:50:33.963+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433917-11] API Request URL: GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/disk-auto-expansion
API Request Headers:
Accept: application/json
Authorization: ***
Content-Type: application/json
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Language: en-us
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:33.963+0300"
2024-08-15T17:50:33.963+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433917-11] API Response Code: 404
API Response Headers:
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:33 GMT
X-Request-Id: ce634f29b39ca1d225e53522a6feb9ad: timestamp="2024-08-15T17:50:33.963+0300"
2024-08-15T17:50:33.963+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [DEBUG] [1723733433917-11] API Response Body: {
  "error_code": "APIGW.0101",
  "error_msg": "The API does not exist or has not been published in the environment",
  "request_id": "ce634f29b39ca1d225e53522a6feb9ad"
}: timestamp="2024-08-15T17:50:33.963+0300"
2024-08-15T17:50:33.963+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:33 [ERROR] error query automatic expansion configuration of the instance storage: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/disk-auto-expansion], request_id: ce634f29b39ca1d225e53522a6feb9ad, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"ce634f29b39ca1d225e53522a6feb9ad"}: timestamp="2024-08-15T17:50:33.963+0300"
2024-08-15T17:50:34.051+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733433963-12] API Request URL: GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/backups/policy
API Request Headers:
Accept: application/json
Authorization: ***
Content-Type: application/json
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Language: en-us
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145033Z: timestamp="2024-08-15T17:50:34.051+0300"
2024-08-15T17:50:34.051+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733433963-12] API Response Code: 200
API Response Headers:
Cache-Control: no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:34 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains;
X-Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Request-Id: a3584cc546d5ffa507f979ca10843be4
X-Trace-Id: 37fb962b-9c8f-4191-b918-365f08f61df7
X-Webkit-Csp: default-src 'self' 'unsafe-inline' 'unsafe-eval'
X-Xss-Protection: 1; mode=block: timestamp="2024-08-15T17:50:34.051+0300"
2024-08-15T17:50:34.051+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733433963-12] API Response Body: {
  "backup_policy": {
    "keep_days": 7,
    "period": "1,2,3,4,5,6,7",
    "start_time": "02:00-03:00"
  }
}: timestamp="2024-08-15T17:50:34.051+0300"
2024-08-15T17:50:34.097+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733434051-13] API Request URL: GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/binlog/clear-policy
API Request Headers:
Accept: application/json
Authorization: ***
Content-Type: application/json
User-Agent: terraform-provider-iac golangsdk/2.0.0
X-Language: en-us
X-Project-Id: 1b1b6ee72c7c49f8b89a95568365b985
X-Sdk-Date: 20240815T145034Z: timestamp="2024-08-15T17:50:34.097+0300"
2024-08-15T17:50:34.097+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733434051-13] API Response Code: 404
API Response Headers:
Connection: keep-alive
Content-Type: application/json
Date: Thu, 15 Aug 2024 14:50:34 GMT
X-Request-Id: 9ecb1e6028badc9a4abef82cbaf4f13c: timestamp="2024-08-15T17:50:34.097+0300"
2024-08-15T17:50:34.097+0300 [INFO]  provider.terraform-provider-sbercloud_v1.12.1: 2024/08/15 17:50:34 [DEBUG] [1723733434051-13] API Response Body: {
  "error_code": "APIGW.0101",
  "error_msg": "The API does not exist or has not been published in the environment",
  "request_id": "9ecb1e6028badc9a4abef82cbaf4f13c"
}: timestamp="2024-08-15T17:50:34.097+0300"
2024-08-15T17:50:34.098+0300 [ERROR] provider.terraform-provider-sbercloud_v1.12.1: Response contains error diagnostic: @module=sdk.proto diagnostic_detail="" tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=d46406ab-6b0c-d161-0f92-7d088059f680 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/internal/diag/diagnostics.go:55 tf_resource_type=sbercloud_rds_instance diagnostic_severity=ERROR
  diagnostic_summary=
  | error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/binlog/clear-policy], request_id: 9ecb1e6028badc9a4abef82cbaf4f13c, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"9ecb1e6028badc9a4abef82cbaf4f13c"}
   tf_rpc=ReadResource timestamp="2024-08-15T17:50:34.098+0300"
2024-08-15T17:50:34.098+0300 [ERROR] vertex "sbercloud_rds_instance.myinstance" error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/binlog/clear-policy], request_id: 9ecb1e6028badc9a4abef82cbaf4f13c, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"9ecb1e6028badc9a4abef82cbaf4f13c"}
2024-08-15T17:50:34.098+0300 [ERROR] vertex "sbercloud_rds_instance.myinstance (expand)" error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/binlog/clear-policy], request_id: 9ecb1e6028badc9a4abef82cbaf4f13c, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"9ecb1e6028badc9a4abef82cbaf4f13c"}
2024-08-15T17:50:34.098+0300 [WARN]  Planning encountered errors, so plan is not applyable

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/964289521a0247ffa4b4c915db501dd1in01/binlog/clear-policy], request_id: 9ecb1e6028badc9a4abef82cbaf4f13c, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"9ecb1e6028badc9a4abef82cbaf4f13c"}
│ 
│ 
│   with sbercloud_rds_instance.myinstance,
│   on main.tf line 72, in resource "sbercloud_rds_instance" "myinstance":
│   72: resource "sbercloud_rds_instance" "myinstance" {
│ 
╵
2024-08-15T17:50:34.102+0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-15T17:50:34.102+0300 [DEBUG] provider: plugin process exited: path=.terraform/providers/tf.repo.sbc.space/sbercloud-terraform/sbercloud/1.12.1/linux_amd64/terraform-provider-sbercloud_v1.12.1 pid=23568
2024-08-15T17:50:34.103+0300 [DEBUG] provider: plugin exited
[udjin@webinar rds]$ 
udjin10 commented 1 month ago

ТК БД в итоге создалась и работает пробую импортировать в стейт:

terraform state list data.sbercloud_rds_instances.this data.terraform_remote_state.projects data.terraform_remote_state.vpc random_password.mysql sbercloud_networking_secgroup.mysecgroup sbercloud_networking_secgroup_rule.allow_rds sbercloud_rds_instance.myinstance sbercloud_vpc_eip.myeip terraform state rm sbercloud_rds_instance.myinstance Removed sbercloud_rds_instance.myinstance Successfully removed 1 resource instance(s).

terraform import sbercloud_rds_instance.myinstance db4a24c6d0c14e3fb5d45ac0530e223din01

data.terraform_remote_state.projects: Reading... data.terraform_remote_state.projects: Read complete after 0s data.terraform_remote_state.vpc: Reading... data.terraform_remote_state.vpc: Read complete after 0s data.sbercloud_rds_instances.this: Reading... sbercloud_rds_instance.myinstance: Importing from ID "db4a24c6d0c14e3fb5d45ac0530e223din01"... sbercloud_rds_instance.myinstance: Import prepared! Prepared sbercloud_rds_instance for import sbercloud_rds_instance.myinstance: Refreshing state... [id=db4a24c6d0c14e3fb5d45ac0530e223din01] data.sbercloud_rds_instances.this: Read complete after 1s [id=2969086007] ╷ │ Error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/1b1b6ee72c7c49f8b89a95568365b985/instances/db4a24c6d0c14e3fb5d45ac0530e223din01/binlog/clear-policy], request_id: 156d7eddd61d885c97ea94b8163b6aed, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"156d7eddd61d885c97ea94b8163b6aed"}

kuzakov commented 1 month ago

The same problem on the existed resource RDS after update terraform provider from 1.12.0 to 1.12.2

Error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/10339484ae00272f2f2fc0081d3aa7f8/instances/79c773afc2b14a6087c93322bbdb8e2din01/binlog/clear-policy], request_id: ab41613dba67a17e9a19f2433d79b263, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"ab41613dba67a17e9a19f2433d79b263"}

udjin10 commented 4 weeks ago

The same problem on the existed resource RDS after update terraform provider from 1.12.0 to 1.12.2

Error: error getting RDS binlog retention hours: Resource not found: [GET https://rds.ru-moscow-1.hc.sbercloud.ru/v3/10339484ae00272f2f2fc0081d3aa7f8/instances/79c773afc2b14a6087c93322bbdb8e2din01/binlog/clear-policy], request_id: ab41613dba67a17e9a19f2433d79b263, error message: {"error_msg":"The API does not exist or has not been published in the environment","error_code":"APIGW.0101","request_id":"ab41613dba67a17e9a19f2433d79b263"}

Does SberCloud provider version 1.12.0 work correctly with this resource? I started using it as a new customer with version 1.12.1.

kuzakov commented 4 weeks ago

Unfortunately, yes. With 1.12.0 works.