Skip to content

Commit

Permalink
resource/aws_cloudwatch_metric_alarm: Validate alarm actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tkbky committed Oct 14, 2018
1 parent efcbb7c commit 1626ab1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions aws/resource_aws_cloudwatch_metric_alarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ func resourceAwsCloudWatchMetricAlarm() *schema.Resource {
"alarm_actions": {
Type: schema.TypeSet,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validateArn,
},
Set: schema.HashString,
},
"alarm_description": {
Type: schema.TypeString,
Expand Down

0 comments on commit 1626ab1

Please sign in to comment.