Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #96 from danisla/disable-ssh
Browse files Browse the repository at this point in the history
added ssh_fw_rule var to disable creation of ssh rule
  • Loading branch information
danisla authored Sep 28, 2018
2 parents 8cfd424 + 647ae95 commit 27a5c7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module "nat-gateway" {
startup_script = "${data.template_file.nat-startup-script.rendered}"
wait_for_instances = true
metadata = "${var.metadata}"
ssh_fw_rule = "${var.ssh_fw_rule}"
ssh_source_ranges = "${var.ssh_source_ranges}"
http_health_check = "${var.autohealing_enabled}"

Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ variable metadata {
default = {}
}

variable "ssh_fw_rule" {
description = "Whether or not the SSH Firewall Rule should be created"
default = true
}

variable ssh_source_ranges {
description = "Network ranges to allow SSH from"
type = "list"
Expand Down

0 comments on commit 27a5c7b

Please sign in to comment.