Skip to content

Commit

Permalink
feat: added security-group-rule in ec2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Sep 27, 2023
1 parent d1f8236 commit 2c9fb80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 74 deletions.
1 change: 0 additions & 1 deletion _example/anomaly_example/.terraform.tfstate.lock.info

This file was deleted.

73 changes: 0 additions & 73 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -165,77 +165,4 @@ variable "query_metrics" {
}
}]
description = "values for metric query metrics."
}

variable "enable_security_group" {
type = bool
default = true
description = "Enable default Security Group with only Egress traffic allowed."
}

variable "sg_ids" {
type = list(any)
default = []
description = "of the security group id."
}

variable "vpc_id" {
type = string
default = ""
description = "The ID of the VPC that the instance security group belongs to."
sensitive = true
}

variable "sg_description" {
type = string
default = "Instance default security group (only egress access is allowed)."
description = "The security group description."
}

variable "is_external" {
type = bool
default = false
description = "enable to udated existing security Group"
}

variable "egress_rule" {
type = bool
default = true
description = "Enable to create egress rule"
}

variable "sg_egress_description" {
type = string
default = "Description of the rule."
description = "Description of the egress and ingress rule"
}

variable "sg_egress_ipv6_description" {
type = string
default = "Description of the rule."
description = "Description of the egress_ipv6 rule"
}

variable "allowed_ip" {
type = list(any)
default = []
description = "List of allowed ip."
}

variable "allowed_ports" {
type = list(any)
default = []
description = "List of allowed ingress ports"
}

variable "sg_ingress_description" {
type = string
default = "Description of the ingress rule use elasticache."
description = "Description of the ingress rule"
}

variable "protocol" {
type = string
default = "tcp"
description = "The protocol. If not icmp, tcp, udp, or all use the."
}

0 comments on commit 2c9fb80

Please sign in to comment.