Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jarpat committed Sep 27, 2023
1 parent 8e2c8eb commit 5563705
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions modules/aws_vm/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

variable "name" {
description = "Name to assign the VM"
type = string
type = string
}

variable "tags" {
Expand All @@ -15,13 +15,13 @@ variable "tags" {
variable "vm_type" {
description = "EC2 instance type"
type = string
default = "m5.4xlarge"
default = "m5.4xlarge"
}

variable "cloud_init" {
description = "Cloud init script to execute"
type = string
default = ""
default = ""
}

variable "vm_admin" {
Expand All @@ -39,72 +39,72 @@ variable "ssh_public_key" {
variable "security_group_ids" {
description = "List of security group ids to associate with the EC2 instance"
type = list(string)
default = []
default = []
}

variable "create_public_ip" {
description = "Toggle the creation of a public EIP to be associated with the EC2 instance"
type = bool
default = false
default = false
}

variable "data_disk_count" {
description = "Number of disks to attach to the EC2 instance"
type = number
default = 0
default = 0
}

variable "data_disk_size" {
description = "Size of disk to attach to the EC2 instance in GiBs"
type = number
default = 128
default = 128
}

variable "data_disk_type" {
description = "The type of EBS volume for the data disk"
type = string
default = "gp2"
default = "gp2"
}

variable "data_disk_availability_zone" {
description = "The AZ where the EBS volume will exist"
type = string
default = ""
default = ""
}

variable "data_disk_iops" {
description = "The amount of IOPS to provision for the data disk"
type = number
default = 0
default = 0
}

variable "os_disk_size" {
description = "The size of the OS disk"
type = number
default = 64
default = 64
}

variable "os_disk_type" {
description = "The type of EBS volume for the OS disk"
type = string
default = "standard"
default = "standard"
}

variable "os_disk_delete_on_termination" {
description = "Delete disk on termination"
type = bool
default = true
default = true
}

variable "os_disk_iops" {
description = "The amount of IOPS to provision for the OS disk"
type = number
default = 0
default = 0
}

variable "subnet_id" {
description = "The VPC Subnet ID to launch in."
type = string
type = string
}

variable "enable_ebs_encryption" {
Expand Down
4 changes: 2 additions & 2 deletions modules/aws_vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ variable "vpc_id" {

variable "name" {
description = "Prefix used when creating VPC resources"
type = string
default = null
type = string
default = null
}

variable "cidr" {
Expand Down

0 comments on commit 5563705

Please sign in to comment.