Skip to content

Commit f4aa6e9

Browse files
Adding Labels to Interconnect Attachments (#12755) (#891)
[upstream:80c24b192a0d78bbe80f848304329d8127963483] Signed-off-by: Modular Magician <[email protected]>
1 parent 1ab7d4a commit f4aa6e9

File tree

2 files changed

+2
-0
lines changed
  • interconnect_attachment_basic
  • interconnect_attachment_dedicated

2 files changed

+2
-0
lines changed

interconnect_attachment_basic/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ resource "google_compute_interconnect_attachment" "on_prem" {
44
type = "PARTNER"
55
router = google_compute_router.foobar.id
66
mtu = 1500
7+
labels = { mykey = "myvalue" }
78
}
89

910
resource "google_compute_router" "foobar" {

interconnect_attachment_dedicated/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ resource "google_compute_interconnect_attachment" "on_prem" {
1919
vlan_tag8021q = 1000
2020
region = "https://www.googleapis.com/compute/v1/projects/${data.google_project.project.name}/regions/us-east4"
2121
stack_type = "IPV4_ONLY"
22+
labels = { mykey = "myvalue" }
2223
}
2324

2425
resource "google_compute_router" "foobar" {

0 commit comments

Comments
 (0)