Skip to content

Commit

Permalink
fix: set empty access_config to null (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody authored Aug 29, 2024
1 parent 82f5243 commit c0b5acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ resource "google_compute_instance_from_template" "bastion_vm" {
network_interface {
subnetwork = var.subnet
subnetwork_project = var.host_project != "" ? var.host_project : var.project
access_config = var.external_ip ? var.access_config : []
access_config = var.external_ip ? var.access_config : null
network_ip = var.network_ip
}

Expand Down

0 comments on commit c0b5acf

Please sign in to comment.