Skip to content

Commit c0b5acf

Browse files
authored
fix: set empty access_config to null (#206)
1 parent 82f5243 commit c0b5acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ resource "google_compute_instance_from_template" "bastion_vm" {
9090
network_interface {
9191
subnetwork = var.subnet
9292
subnetwork_project = var.host_project != "" ? var.host_project : var.project
93-
access_config = var.external_ip ? var.access_config : []
93+
access_config = var.external_ip ? var.access_config : null
9494
network_ip = var.network_ip
9595
}
9696

0 commit comments

Comments
 (0)