Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource/aws_cloudwatch_metric_alarm: Accept EC2 automate reboot ARN #6405

Merged
merged 1 commit into from
Nov 9, 2018

Commits on Nov 8, 2018

  1. resource/aws_cloudwatch_metric_alarm: Accept EC2 automate reboot ARN

    Previously:
    
    ```
    --- FAIL: TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate (9.08s)
        testing.go:538: Step 0 error: Error planning: 2 errors occurred:
            	* aws_cloudwatch_metric_alarm.test: "alarm_actions.0" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "arn:aws:automate:us-west-2:ec2:reboot"
            	* aws_cloudwatch_metric_alarm.test: "alarm_actions.0" does not match EC2 automation ARN ("^arn:[\\w-]+:automate:[\\w-]+:ec2:(recover|stop|terminate)$"): "arn:aws:automate:us-west-2:ec2:reboot"
    ```
    
    ```
    --- PASS: TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate (194.97s)
    ```
    bflad committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    965300d View commit details
    Browse the repository at this point in the history