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

Wrong bucket domain name in terraform state #957

Closed
alexandrovas opened this issue Mar 2, 2021 · 1 comment · Fixed by #960
Closed

Wrong bucket domain name in terraform state #957

alexandrovas opened this issue Mar 2, 2021 · 1 comment · Fixed by #960

Comments

@alexandrovas
Copy link

Hello!

Provider config:

provider "huaweicloud" {
  auth_url     = "https://iam.ru-moscow-1.hc.sbercloud.ru"
  cloud        = "hc.sbercloud.ru"
  domain_name  = "my_domain"
  region       = "ru-moscow-1"
  project_name = "my_project"
  access_key   = var.hw_access_key
  secret_key   = var.hw_secret_key
  endpoints = {
    iam = "iam.ru-moscow-1.hc.sbercloud.ru"
    ecs = "ecs.ru-moscow-1.hc.sbercloud.ru"
    obs = "obs.ru-moscow-1.hc.sbercloud.ru"
  }
}

In state I see wrong domain name for my OBS buckets:

resource "huaweicloud_obs_bucket" "bucket" {
    acl                = "private"
    bucket             = "bucket-name"
    bucket_domain_name = "bucket-name.obs.ru-moscow-1.myhuaweicloud.com"
    force_destroy      = false

Expected:

bucket_domain_name = "bucket-name.obs.ru-moscow-1.hc.sbercloud.ru"
@ShiChangkuo
Copy link
Collaborator

@alexandrovas thanks for raising this, will fix it soon.

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

Successfully merging a pull request may close this issue.

2 participants