|
@@ -4,31 +4,31 @@
|
|
# These MUST be configured
|
|
# These MUST be configured
|
|
variable "AWS-Key-Pair-Name" {
|
|
variable "AWS-Key-Pair-Name" {
|
|
description = "Name of the keypair in AWS"
|
|
description = "Name of the keypair in AWS"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "{{ var.AWS_Key_Pair_Name }}"
|
|
default = "{{ var.AWS_Key_Pair_Name }}"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Private-Key-File" {
|
|
variable "Private-Key-File" {
|
|
description = "The name of the file containing your private key"
|
|
description = "The name of the file containing your private key"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "{{ var.Private_Key_File }}"
|
|
default = "{{ var.Private_Key_File }}"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Domain-Name" {
|
|
variable "Domain-Name" {
|
|
description = "Your domain name (hosted in Route53)"
|
|
description = "Your domain name (hosted in Route53)"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "{{ var.Domain_Name }}"
|
|
default = "{{ var.Domain_Name }}"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Domain-Zone-ID" {
|
|
variable "Domain-Zone-ID" {
|
|
description = "The Zone ID of the Domain-Name in Route53"
|
|
description = "The Zone ID of the Domain-Name in Route53"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "{{ var.Domain_Zone_ID }}"
|
|
default = "{{ var.Domain_Zone_ID }}"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Trusted-CIDR" {
|
|
variable "Trusted-CIDR" {
|
|
description = "Trusted source addresses in CIDR notation."
|
|
description = "Trusted source addresses in CIDR notation."
|
|
- type = "list"
|
|
|
|
|
|
+ type = list
|
|
default = {{ var.Trusted_CIDR }}
|
|
default = {{ var.Trusted_CIDR }}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -38,43 +38,43 @@ variable "Trusted-CIDR" {
|
|
# will usually work.
|
|
# will usually work.
|
|
variable "region" {
|
|
variable "region" {
|
|
description = "Which AWS region do you wish to deploy to?"
|
|
description = "Which AWS region do you wish to deploy to?"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "{{ var.AWS_Region }}"
|
|
default = "{{ var.AWS_Region }}"
|
|
}
|
|
}
|
|
|
|
|
|
variable "VPC-Subnet" {
|
|
variable "VPC-Subnet" {
|
|
description = "The full subnet for your VPC (to be split into 2 subnets)"
|
|
description = "The full subnet for your VPC (to be split into 2 subnets)"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.0.0/16"
|
|
default = "10.66.0.0/16"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Honeypot-Subnet" {
|
|
variable "Honeypot-Subnet" {
|
|
description = "The CIDR for the Honeypot subnet. Must be a subnet of VPC-Subnet"
|
|
description = "The CIDR for the Honeypot subnet. Must be a subnet of VPC-Subnet"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.0.0/24"
|
|
default = "10.66.0.0/24"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Honeypot-IP-Secured" {
|
|
variable "Honeypot-IP-Secured" {
|
|
description = "The private IP for the secured interface. Note that this must be greater than that of the secured interface."
|
|
description = "The private IP for the secured interface. Note that this must be greater than that of the secured interface."
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.0.20"
|
|
default = "10.66.0.20"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Honeypot-IP-Unsecured" {
|
|
variable "Honeypot-IP-Unsecured" {
|
|
description = "The private IP for the unsecured interace."
|
|
description = "The private IP for the unsecured interace."
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.0.10"
|
|
default = "10.66.0.10"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Splunk-Subnet" {
|
|
variable "Splunk-Subnet" {
|
|
description = "The CIDR for the Splunk subnet. Must be a subnet of VPC-Subnet"
|
|
description = "The CIDR for the Splunk subnet. Must be a subnet of VPC-Subnet"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.1.0/24"
|
|
default = "10.66.1.0/24"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Splunk-IP" {
|
|
variable "Splunk-IP" {
|
|
description = "The IP for the Splunk instance."
|
|
description = "The IP for the Splunk instance."
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "10.66.1.10"
|
|
default = "10.66.1.10"
|
|
}
|
|
}
|
|
|
|
|
|
@@ -84,49 +84,52 @@ variable "Splunk-IP" {
|
|
# your performance, here's where you can tune.
|
|
# your performance, here's where you can tune.
|
|
variable "Honeypot-Instance-Type" {
|
|
variable "Honeypot-Instance-Type" {
|
|
description = "What size instances do you want to deploy?"
|
|
description = "What size instances do you want to deploy?"
|
|
- type = "string"
|
|
|
|
- default = "t2.micro"
|
|
|
|
|
|
+ type = string
|
|
|
|
+ #default = "t2.micro"
|
|
|
|
+ default = "t3.2xlarge"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Splunk-Instance-Type" {
|
|
variable "Splunk-Instance-Type" {
|
|
description = "What size instances do you want to deploy?"
|
|
description = "What size instances do you want to deploy?"
|
|
- type = "string"
|
|
|
|
- default = "t2.micro"
|
|
|
|
|
|
+ type = string
|
|
|
|
+ default = "t3.2xlarge"
|
|
|
|
+ #default = "t2.micro"
|
|
}
|
|
}
|
|
|
|
|
|
variable "EBS-Optimized" {
|
|
variable "EBS-Optimized" {
|
|
description = "Should instances be deployed as EBS optimized?"
|
|
description = "Should instances be deployed as EBS optimized?"
|
|
- type = "string"
|
|
|
|
- default = false
|
|
|
|
|
|
+ type = string
|
|
|
|
+ #default = false
|
|
|
|
+ default = true
|
|
}
|
|
}
|
|
|
|
|
|
variable "Honeypot-Volume-Size" {
|
|
variable "Honeypot-Volume-Size" {
|
|
description = "How much swap do you need?"
|
|
description = "How much swap do you need?"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = 10
|
|
default = 10
|
|
}
|
|
}
|
|
|
|
|
|
variable "Splunk-Volume-Size" {
|
|
variable "Splunk-Volume-Size" {
|
|
description = "How much swap do you need?"
|
|
description = "How much swap do you need?"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = 10
|
|
default = 10
|
|
}
|
|
}
|
|
|
|
|
|
variable "Swap-Volume-Size" {
|
|
variable "Swap-Volume-Size" {
|
|
description = "How much swap do you need?"
|
|
description = "How much swap do you need?"
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = 2
|
|
default = 2
|
|
}
|
|
}
|
|
|
|
|
|
variable "Swap-Volume-Type" {
|
|
variable "Swap-Volume-Type" {
|
|
description = "Type of storage for the swap volume."
|
|
description = "Type of storage for the swap volume."
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "gp2"
|
|
default = "gp2"
|
|
}
|
|
}
|
|
|
|
|
|
variable "Default-Volume-Type" {
|
|
variable "Default-Volume-Type" {
|
|
description = "Type of storage for the default volumes."
|
|
description = "Type of storage for the default volumes."
|
|
- type = "string"
|
|
|
|
|
|
+ type = string
|
|
default = "gp2"
|
|
default = "gp2"
|
|
}
|
|
}
|
|
|
|
|