-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nitin-das
committed
Mar 17, 2020
1 parent
17f02f7
commit 566aa08
Showing
1 changed file
with
19 additions
and
16 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 |
---|---|---|
@@ -1,34 +1,37 @@ | ||
variable "name_prefix" { | ||
description = "Creates a unique name beginning with the specified prefix." | ||
description = "Creates a unique name beginning with the specified prefix." | ||
default = null | ||
} | ||
|
||
variable "description" { | ||
description = "The security group description. Defaults to Managed by Terraform." | ||
description = "The security group description. Defaults to Managed by Terraform" | ||
default = null | ||
} | ||
|
||
variable "ingress" { | ||
description = "Ingress rules for security group" | ||
type = any | ||
default = [] | ||
} | ||
|
||
variable "egress" { | ||
description = "Egress rules for security group" | ||
type = any | ||
default = [] | ||
} | ||
|
||
variable "revoke_rules_on_delete" { | ||
description = "Instruct Terraform to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself." | ||
description = "Instruct Terraform to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself" | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "vpc_id" { | ||
description = "The VPC ID." | ||
description = "The VPC ID" | ||
} | ||
|
||
variable "tags" { | ||
description = "A mapping of tags to assign to the resource." | ||
type = map(string) | ||
} | ||
|
||
variable "ingress_rules" { | ||
description = "Ingress rules for security group" | ||
type = any | ||
default = [] | ||
} | ||
|
||
variable "egress_rules" { | ||
description = "Egress rules for security group" | ||
type = any | ||
default = [] | ||
default = {} | ||
} |