rename bastion host IP variable for firewall rules

This commit is contained in:
Oli
2022-10-25 12:44:13 +00:00
parent 8618a04508
commit 8fac6e1fb1
2 changed files with 5 additions and 2 deletions

View File

@@ -22,8 +22,8 @@ resource "hcloud_firewall" "ssh" {
protocol = "tcp"
port = "22"
source_ips = [
var.ows_gateway.ipv4,
var.ows_gateway.ipv6
var.bastion_host.ipv4,
var.bastion_host.ipv6
]
}
apply_to {

View File

@@ -32,3 +32,6 @@ provider "ionosdeveloper" {
# Public SSH Key
variable "dtsv_hcloud_ssh_key" {}
# Bastion Host IP
variable "bastion_host" {}