Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GaussDB instance creation in Manila Region #6267

Open
joemetry11 opened this issue Jan 31, 2025 · 0 comments
Open

GaussDB instance creation in Manila Region #6267

joemetry11 opened this issue Jan 31, 2025 · 0 comments

Comments

@joemetry11
Copy link

Terraform Version

Terraform v1.9.8

Terraform Configuration Files

terraform {
  required_providers {
    huaweicloud = {
      source = "huaweicloud/huaweicloud"
      version = ">= 1.72.0"
    }
  }
}
provider "huaweicloud" {
  region = "ap-southeast-5"
}

data "huaweicloud_availability_zones" "myaz" {}

resource "huaweicloud_gaussdb_opengauss_instance" "instance_acc" {
  vpc_id            = var.vpc_id
  subnet_id         = var.subnet_network_id
  security_group_id = var.security_group_id
  name              = var.gaussdb_name
  password          = var.gaussdb_password
  flavor            = "gaussdb.opengauss.ee.c3.2xlarge.x864.ha"
  availability_zone = join(",", slice(data.huaweicloud_availability_zones.myaz.names, 0, 3))

  replica_num = 3

  ha {
    mode             = "centralization_standard"
    replication_mode = "sync"
    instance_mode = "enterprise"
    consistency = "strong"
  }

  volume {
    type = "ULTRAHIGH"
    size = 40
  }
  disk_encryption_id = "417fc733-6b7e-4406-b970-e8ff7c2c2743"
  charging_mode = "postPaid"
}

output "gaussdb-id" {
  value = huaweicloud_gaussdb_opengauss_instance.instance_acc.id
}

Debug Output

Crash Output

Error: error creating GaussDB OpenGauss instance: Post "https://gaussdb-opengauss.ap-southeast-5.myhuaweicloud.com/v3/e1af410037a34f6dbe5bc704496a054d/instances": dial tcp: lookup gaussdb-opengauss.ap-southeast-5.myhuaweicloud.com on 192.168.192.1:53: no such host
│ 
│   with huaweicloud_gaussdb_opengauss_instance.instance_acc,
│   on main.tf line 4, in resource "huaweicloud_gaussdb_opengauss_instance" "instance_acc":4: resource "huaweicloud_gaussdb_opengauss_instance" "instance_acc" {

Expected Behavior

Actual Behavior

GaussDB instance should be created

Steps to Reproduce

Additional Context

Image

Image

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant