From 0a0ccb84f2d48b33d12e10502b7e38bdb9b315c9 Mon Sep 17 00:00:00 2001 From: Paulo Eduardo Deininger Messias Alves Date: Fri, 18 Mar 2016 17:51:25 -0300 Subject: [PATCH] Add DefaultOs on Stack creation (fix Windows stack issue) --- builtin/providers/aws/resource_aws_opsworks_stack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/aws/resource_aws_opsworks_stack.go b/builtin/providers/aws/resource_aws_opsworks_stack.go index 19e64a56a..c021f16a9 100644 --- a/builtin/providers/aws/resource_aws_opsworks_stack.go +++ b/builtin/providers/aws/resource_aws_opsworks_stack.go @@ -307,6 +307,7 @@ func resourceAwsOpsworksStackCreate(d *schema.ResourceData, meta interface{}) er Name: aws.String(d.Get("name").(string)), Region: aws.String(d.Get("region").(string)), ServiceRoleArn: aws.String(d.Get("service_role_arn").(string)), + DefaultOs: aws.String(d.Get("default_os").(string)), UseOpsworksSecurityGroups: aws.Bool(d.Get("use_opsworks_security_groups").(bool)), } inVpc := false