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

Labeling Resources #254

Closed
noizo opened this issue Jul 27, 2017 · 2 comments
Closed

Labeling Resources #254

noizo opened this issue Jul 27, 2017 · 2 comments

Comments

@noizo
Copy link

noizo commented Jul 27, 2017

Hi.

Google has changed something with labeling instances recently.
https://cloud.google.com/compute/docs/labeling-resources

I've been using labeling this way before:

 resource "google_compute_instance" "name" {
  tags         = ["${var.name}", "no-ip", "postgres"]

It worked fine, but now it applies only to Tags, and not Labels.
There are no docs in terraform covering Labeling on Google provider, so i think this future is missing.

@rileykarson
Copy link
Collaborator

Hi @noizo!

Labels and Tags were decoupled as of May 01, 2017. We have an ongoing issue tracking general labels support at #17, and work on supporting them across resources is in progress. For google_compute_instance specifically, labels support landed in #150 and was part of release 0.1.2 on July 20th.

This isn't currently reflected on the website documentation, and I don't expect it will be until Terraform 0.10 releases. In the meantime, you can view the documentation in the source repo, with the disclaimer that it's tracking HEAD and not the 0.1.2 release.

If you're interested in other resources, feel free to file issues or comment on #17! We generally prioritise adding support to resources that have specific demand when adding general support for a feature like this.

@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants