Skip to content

Commit deb2de9

Browse files
author
Steven Nemetz
committed
Fix formatting
1 parent 2aa1cf3 commit deb2de9

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

examples/wrapper/outputs.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ output "launch_configuration_id" {
33
description = "The ID of the launch configuration"
44
value = "${module.example.launch_configuration_id}"
55
}
6+
67
output "launch_configuration_name" {
78
description = "The name of the launch configuration"
89
value = "${module.example.launch_configuration_name}"
@@ -13,6 +14,7 @@ output "autoscaling_group_id" {
1314
description = "The autoscaling group id"
1415
value = "${module.example.autoscaling_group_id}"
1516
}
17+
1618
output "autoscaling_group_name" {
1719
description = "The autoscaling group name"
1820
value = "${module.example.autoscaling_group_name}"

examples/wrapper/variables.tf

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ variable "associate_public_ip_address" {
1010
description = "Add a public IP address"
1111
default = false
1212
}
13+
1314
variable "desired_capacity" {
1415
description = "Desired number of instances"
1516
default = 1
@@ -19,52 +20,64 @@ variable "health_check_grace_period" {
1920
description = "Auto Scaling Group health check grace period in seconds. Time allowed before starting to test the health check"
2021
default = "300"
2122
}
23+
2224
variable "health_check_type" {
2325
description = "Healthcheck type"
24-
default = "ELB"
26+
default = "ELB"
2527
}
28+
2629
variable "instance_profile_id" {
2730
description = "Instance profile ID"
2831
default = ""
2932
}
33+
3034
variable "instance_type" {
3135
description = "Instance type"
3236
default = "t2.micro"
3337
}
38+
3439
variable "key_name" {
3540
description = "SSH key name to use"
3641
default = "devops20170606"
3742
}
43+
3844
variable "max_size" {
3945
description = "Maximum number of instances"
4046
default = 2
4147
}
48+
4249
variable "min_size" {
4350
description = "Minimum number of instances"
4451
default = 1
4552
}
53+
4654
variable "root_volume_size" {
4755
description = "Size of the root volume"
4856
default = 8
4957
}
58+
5059
variable "spot_price" {
5160
description = "Spot price. Set to false to not use spot pricing"
5261
default = false
5362
}
63+
5464
variable "stack" {
5565
description = "Name of the service stack"
5666
default = "wrapper-test"
5767
}
68+
5869
variable "tags" {
5970
description = "Map of tags"
6071
type = "map"
6172
default = {}
6273
}
74+
6375
variable "target_group_arns" {
6476
description = "List of target group ARNs"
6577
type = "list"
6678
default = []
6779
}
80+
6881
variable "user_data" {
6982
description = "User data script"
7083
default = " "

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module "label" {
3737
team = "${var.team}"
3838
}
3939

40-
# Terraform converts true to 1. Can it be prevented?
40+
# NOTE: Terraform converts true to 1.
4141
data "null_data_source" "tags_asg" {
4242
count = "${module.enabled.value ? length(keys(module.label.tags)) : 0}"
4343

0 commit comments

Comments
 (0)