Skip to content

Commit

Permalink
refactor: added descriptions to variables & outputs file
Browse files Browse the repository at this point in the history
  • Loading branch information
tasdikrahman committed Sep 23, 2017
1 parent 8cbeb20 commit c3eeecd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 14 deletions.
11 changes: 0 additions & 11 deletions input.tf

This file was deleted.

3 changes: 0 additions & 3 deletions output.tf

This file was deleted.

4 changes: 4 additions & 0 deletions outputs.tf
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}"
}
21 changes: 21 additions & 0 deletions variables.tf
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"
}

0 comments on commit c3eeecd

Please sign in to comment.