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

GoogleCloud - uppercase location forces bucket recreation #115

Closed
hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #117
Closed

GoogleCloud - uppercase location forces bucket recreation #115

hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #117
Labels
bug forward/review In review; remove label to forward service/storage

Comments

@hashibot
Copy link

This issue was originally opened by @qgadrian as hashicorp/terraform#15218. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

terraform 0.9.8

Affected Resource(s)

  • google_storage_bucket

Terraform Configuration Files

resource "google_storage_bucket" "stuff-bucket" {
  name            = "${var.PROJECT_NAME}-stuff-bucket"
  location        = "${var.REGION}"
  storage_class   = "REGIONAL"
}

Debug Output

-/+ google_storage_bucket.stuff-bucket
    force_destroy: "false" => "false"
    location:      "EUROPE-WEST1" => "europe-west1" (forces new resource)
    name:          "my-project-stuff-bucket" => "my-project-stuff-bucket"
    self_link:     "https://www.googleapis.com/storage/v1/b/my-project-stuff-bucket" => "<computed>"
    storage_class: "REGIONAL" => "REGIONAL"
    url:           "gs://my-project-stuff-bucket" => "<computed>"

Expected Behavior

Uppercase the location to avoid bucket recreation.

Actual Behavior

Every terraform apply forces new resource.

Steps to Reproduce

  1. terraform apply

References

@hashibot hashibot added the bug label Jun 13, 2017
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
@github-actions github-actions bot added service/storage forward/review In review; remove label to forward labels Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug forward/review In review; remove label to forward service/storage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant