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

Apply new labels model to more resources (part 2) #536

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dataproc_metastore_service_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ resource "google_dataproc_metastore_service" "default" {
hive_metastore_config {
version = "2.3.6"
}

labels = {
env = "test"
}
}
4 changes: 4 additions & 0 deletions gkehub_membership_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ resource "google_gke_hub_membership" "membership" {
resource_link = "//container.googleapis.com/${google_container_cluster.primary.id}"
}
}

labels = {
env = "test"
}
}
4 changes: 4 additions & 0 deletions memcache_instance_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ resource "google_memcache_instance" "instance" {
name = "test-instance-${local.name_suffix}"
authorized_network = google_service_networking_connection.private_service_connection.network

labels = {
env = "test"
}

node_config {
cpu_count = 1
memory_size_mb = 1024
Expand Down
3 changes: 3 additions & 0 deletions network_management_connectivity_test_instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ resource "google_network_management_connectivity_test" "instance-test" {
}

protocol = "TCP"
labels = {
env = "test"
}
}

resource "google_compute_instance" "source" {
Expand Down
1 change: 0 additions & 1 deletion only_external_vpn_gateway_full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ resource "google_compute_external_vpn_gateway" "external_gateway" {
}
labels = {
key = "value"
otherkey = ""
}
}
4 changes: 4 additions & 0 deletions vertex_ai_dataset/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ resource "google_vertex_ai_dataset" "dataset" {
display_name = "terraform-${local.name_suffix}"
metadata_schema_uri = "gs://google-cloud-aiplatform/schema/dataset/metadata/image_1.0.0.yaml"
region = "us-central1"

labels = {
env = "test"
}
}
3 changes: 3 additions & 0 deletions workflow_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ resource "google_workflows_workflow" "example" {
region = "us-central1"
description = "Magic"
service_account = google_service_account.test_account.id
labels = {
env = "test"
}
source_contents = <<-EOF
# This is a sample workflow. You can replace it with your source code.
#
Expand Down
4 changes: 4 additions & 0 deletions workstation_config_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ resource "google_workstations_workstation_config" "default" {
label-one = "value-one"
}

labels = {
"label" = "key"
}

host {
gce_instance {
machine_type = "e2-standard-4"
Expand Down