Skip to content

Commit d5cb3d0

Browse files
committed
docs(examples): remove redundant comments from multi-instance example
1 parent 78695d9 commit d5cb3d0

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

examples/multi-instance-type/example.tf

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,6 @@ data "aws_iam_policy_document" "iam-policy" {
181181
}
182182
}
183183

184-
################################################################################
185-
# EC2 AutoScaling module call with more than one instance type
186-
#
187-
# `mixed_instances_policy_enabled = true` switches the AutoScaling Group from the
188-
# default single `launch_template { instance_type = ... }` block to a
189-
# `mixed_instances_policy`, whose `override` entries list several instance types
190-
# the group is allowed to launch from. `instances_distribution` controls how AWS
191-
# splits capacity between On-Demand and Spot across those instance types.
192-
################################################################################
193184

194185
module "ec2-autoscale" {
195186
source = "../../"
@@ -203,8 +194,7 @@ module "ec2-autoscale" {
203194
instance_profile_enabled = true
204195
iam_instance_profile_name = module.iam-role.name
205196
user_data_base64 = ""
206-
# `instance_type` still defines the launch template used by the group; the actual
207-
# instance types launched are taken from `mixed_instances_overrides` below.
197+
208198
instance_type = "t3.micro"
209199

210200
# on_demand

0 commit comments

Comments
 (0)