From a8865b890114f945331989fe12e477e414040add Mon Sep 17 00:00:00 2001 From: Pierre Carrier Date: Mon, 14 Mar 2016 11:43:13 +0000 Subject: [PATCH] provider/aws: optional fields in aws_autoscaling_lifecycle_hook See hashicorp/terraform/issues/5614 --- .../providers/aws/resource_aws_autoscaling_lifecycle_hook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook.go b/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook.go index bb6d1c2e32cc..8b3a3159d66d 100644 --- a/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook.go +++ b/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook.go @@ -49,11 +49,11 @@ func resourceAwsAutoscalingLifecycleHook() *schema.Resource { }, "notification_target_arn": &schema.Schema{ Type: schema.TypeString, - Required: true, + Optional: true, }, "role_arn": &schema.Schema{ Type: schema.TypeString, - Required: true, + Optional: true, }, }, }