Skip to content

Commit

Permalink
fix: set empty access_config to null
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody authored Aug 28, 2024
1 parent 6e8087d commit a0ce1ca
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 a0ce1ca

Please sign in to comment.