Skip to content

Commit

Permalink
Modified Code
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-das committed Mar 17, 2020
1 parent 17f02f7 commit 566aa08
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions variables.tf
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 = {}
}

0 comments on commit 566aa08

Please sign in to comment.