Skip to content

Commit

Permalink
Merge pull request #6151 from tkbky/cloudwatch-alarm-actions-validation
Browse files Browse the repository at this point in the history
resource/aws_cloudwatch_metric_alarm: Validate alarm actions
  • Loading branch information
bflad authored Oct 14, 2018
2 parents 88083c8 + 1626ab1 commit affec9c
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 affec9c

Please sign in to comment.