From e3d4c237a92c23d26432cdd7005db3c5f63e3fe3 Mon Sep 17 00:00:00 2001 From: Casey Leask Date: Tue, 4 Apr 2017 17:24:01 +1000 Subject: [PATCH] Add `min_size` and `max_size` ASG fields (#13312) These are required fields ``` $ terraform plan 2 error(s) occurred: * aws_autoscaling_group.bar: "max_size": required field is not set * aws_autoscaling_group.bar: "min_size": required field is not set ``` --- .../docs/providers/aws/r/launch_configuration.html.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/providers/aws/r/launch_configuration.html.markdown b/website/source/docs/providers/aws/r/launch_configuration.html.markdown index f8390a8152..b5d283c38d 100644 --- a/website/source/docs/providers/aws/r/launch_configuration.html.markdown +++ b/website/source/docs/providers/aws/r/launch_configuration.html.markdown @@ -76,6 +76,8 @@ resource "aws_launch_configuration" "as_conf" { resource "aws_autoscaling_group" "bar" { name = "terraform-asg-example" launch_configuration = "${aws_launch_configuration.as_conf.name}" + min_size = 1 + max_size = 2 lifecycle { create_before_destroy = true