-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: added descriptions to variables & outputs file
- Loading branch information
1 parent
8cbeb20
commit c3eeecd
Showing
4 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
output "self_link" { | ||
description = "The URI of the created resource" | ||
value = "${google_compute_firewall.new-firewall.self_link}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
variable name { | ||
description = "A unique name for the resource, required by GCE" | ||
} | ||
|
||
variable network { | ||
description = "The name of the network to attach this firewall to" | ||
} | ||
|
||
variable protocol { | ||
description = "The name of the protocol to allow" | ||
} | ||
|
||
variable ports { | ||
description = "List of ports and/or port ranges to allow. This can only be specified if the protocol is TCP or UDP" | ||
type = "list" | ||
} | ||
|
||
variable source_ranges { | ||
description = "A list of source CIDR ranges that this firewall applies to. Can't be used for EGRESS" | ||
type = "list" | ||
} |