You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it is only possible to provide source_ips for the hcloud_firewall object in the form of 1.1.1.1/32. It would be helpful to be able to provide only the ip and skip the suffix.
I tried to give ssh access from one single server that was also created with terraform and the best solution I came up with was the following:
resource "hcloud_firewall" "master_firewall" {
name = "master-firewall"
rule {
direction = "in"
protocol = "tcp"
port = "22"
source_ips = [
format("%s/%s",hcloud_server.management.ipv4_address,"32")
]
}
}
The text was updated successfully, but these errors were encountered:
What whould you like to see?
Right now, it is only possible to provide source_ips for the hcloud_firewall object in the form of 1.1.1.1/32. It would be helpful to be able to provide only the ip and skip the suffix.
I tried to give ssh access from one single server that was also created with terraform and the best solution I came up with was the following:
The text was updated successfully, but these errors were encountered: