Make internal/external addresses optional in compute-vm

Fixes 1431
This commit is contained in:
Julio Castillo
2023-06-08 14:00:10 +02:00
parent 6baf8720fa
commit e900e9c951
4 changed files with 7 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -68,7 +68,6 @@ module "nodes" {
nat = false
addresses = {
internal = module.ip-addresses.internal_addresses[each.value].address
external = null
}
}]
@@ -122,7 +121,6 @@ module "witness" {
nat = false
addresses = {
internal = module.ip-addresses.internal_addresses[each.value].address
external = null
}
}]