Skip to content

GA compute address labels #16120

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

Conversation

modular-magician
Copy link
Collaborator

fixes #16082
alternative: GoogleCloudPlatform/magic-modules#9158

provider "google" {
  default_labels = {
    my_global_key  = "one"
    my_default_key = "two"
  }
}

resource "google_compute_address" "my_address" {
  name = "my-address"

  labels = {
    my_key = "three"
    # overrides provider-wide setting
    my_default_key = "four"
  }
}

Release Note Template for Downstream PRs (will be copied)

compute: added `labels`, `effective_labels`, `terraform_labels`, and `label_fingerprint` to `google_compute_address` (GA)

Derived from GoogleCloudPlatform/magic-modules#9159

[upstream:f420f56f39ac9bbfe2813fe0cc06499e2144e949]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 746a72a into hashicorp:main Oct 4, 2023
Copy link

github-actions bot commented Nov 4, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2023
@modular-magician modular-magician deleted the downstream-pr-f420f56f39ac9bbfe2813fe0cc06499e2144e949 branch November 17, 2024 01:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5.0.0 - Default labels example doesn't work because google_compute_address.labels is beta-only
1 participant