Skip to content

Commit

Permalink
[#111] Run terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangmirs committed Sep 25, 2022
1 parent 6c794fb commit 038ba31
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions skeleton/aws/modules/alb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ resource "aws_lb_target_group" "target_group" {
for_each = var.enable_stickiness ? [1] : []

content {
enabled = true
type = var.stickiness_type
enabled = true
type = var.stickiness_type
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions skeleton/aws/modules/bastion/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@ variable "namespace" {

variable "subnet_ids" {
description = "The public setnet IsD for the instance"
type = list(string)
type = list(string)
}

variable "instance_security_group_ids" {
description = "The security group IDs for the instance"
type = list(string)
type = list(string)
}

variable "image_id" {
description = "The AMI image ID"
default = "ami-0801a1e12f4a9ccc0"
default = "ami-0801a1e12f4a9ccc0"
}

variable "instance_type" {
description = "The instance type"
default = "t3.nano"
default = "t3.nano"
}

variable "instance_desired_count" {
description = "The desired number of the instance"
default = 1
default = 1
}

variable "max_instance_count" {
description = "The maximum number of the instance"
default = 1
default = 1
}

variable "min_instance_count" {
description = "The minimum number of the instance"
default = 1
default = 1
}
24 changes: 12 additions & 12 deletions skeleton/aws/modules/vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,36 @@ variable "cidr" {

variable "private_subnet_cidrs" {
description = "VPC private subnet CIDRs"
type = list(any)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
type = list(any)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}

variable "public_subnet_cidrs" {
description = "VPC public subnet CIDRs"
type = list(any)
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
type = list(any)
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
}

variable "enable_nat_gateway" {
description = "VPC NAT gateway flag"
type = bool
default = true
type = bool
default = true
}

variable "single_nat_gateway" {
description = "VPC single NAT gateway flag"
type = bool
default = true
type = bool
default = true
}

variable "one_nat_gateway_per_az" {
description = "VPC one NAT gateway per AZ flag"
type = bool
default = false
type = bool
default = false
}

variable "enable_dns_hostnames" {
description = "VPC DNS hostnames flag"
type = bool
default = true
type = bool
default = true
}

0 comments on commit 038ba31

Please sign in to comment.