Skip to content

Commit

Permalink
Make bootstrapped network a data source.
Browse files Browse the repository at this point in the history
  • Loading branch information
trodge committed Sep 21, 2022
1 parent 0dd9a82 commit e76d745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "google_compute_global_address" "vertex_range" {
network = google_compute_network.vertex_network.id
}

resource "google_compute_network" "vertex_network" {
data "google_compute_network" "vertex_network" {
name = "<%= ctx[:vars]['network_name'] %>"
}

Expand Down

0 comments on commit e76d745

Please sign in to comment.