Created
November 23, 2019 05:14
-
-
Save dcgomesbr/5a47c13c8986bcd712a68ad87daae2d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plan: | |
+ module.some_module.aws_cloudwatch_metric_alarm.errors_alert | |
id: <computed> | |
actions_enabled: "true" | |
alarm_description: "Anomaly band (12 / 15 min)" | |
alarm_name: "some_alarm_name" | |
arn: <computed> | |
comparison_operator: "GreaterThanUpperThreshold" | |
datapoints_to_alarm: "1" | |
evaluate_low_sample_count_percentiles: <computed> | |
evaluation_periods: "1" | |
metric_query.#: "2" | |
metric_query.2968513610.expression: "ANOMALY_DETECTION_BAND(m1, 12)" | |
metric_query.2968513610.id: "ad1" | |
metric_query.2968513610.label: "SomeLabel" | |
metric_query.2968513610.metric.#: "0" | |
metric_query.2968513610.return_data: "true" | |
metric_query.717271376.expression: "" | |
metric_query.717271376.id: "m1" | |
metric_query.717271376.label: "" | |
metric_query.717271376.metric.#: "1" | |
metric_query.717271376.metric.0.dimensions.%: "1" | |
metric_query.717271376.metric.0.dimensions.Service: "SomeService" | |
metric_query.717271376.metric.0.metric_name: "SomeMetric" | |
metric_query.717271376.metric.0.namespace: "SomeNamespace" | |
metric_query.717271376.metric.0.period: "900" | |
metric_query.717271376.metric.0.stat: "Maximum" | |
metric_query.717271376.metric.0.unit: "" | |
metric_query.717271376.return_data: "false" | |
tags.%: "1" | |
tags.Name: "same_name" | |
threshold: "0" | |
treat_missing_data: "breaching" | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
Apply: | |
module.some_module.errors_alert: Creating... | |
actions_enabled: "" => "true" | |
alarm_description: "" => "Anomaly band (12 / 15 min)" | |
alarm_name: "" => "some_alarm_name" | |
arn: "" => "<computed>" | |
comparison_operator: "" => "GreaterThanUpperThreshold" | |
datapoints_to_alarm: "" => "1" | |
evaluate_low_sample_count_percentiles: "" => "<computed>" | |
evaluation_periods: "" => "1" | |
metric_query.#: "" => "2" | |
metric_query.2968513610.expression: "" => "ANOMALY_DETECTION_BAND(m1, 12)" | |
metric_query.2968513610.id: "" => "ad1" | |
metric_query.2968513610.label: "" => "SomeLabel" | |
metric_query.2968513610.metric.#: "" => "0" | |
metric_query.2968513610.return_data: "" => "true" | |
metric_query.717271376.expression: "" => "" | |
metric_query.717271376.id: "" => "m1" | |
metric_query.717271376.label: "" => "" | |
metric_query.717271376.metric.#: "" => "1" | |
metric_query.717271376.metric.0.dimensions.%: "" => "1" | |
metric_query.717271376.metric.0.dimensions.Service: "" => "SomeService" | |
metric_query.717271376.metric.0.metric_name: "" => "SomeMetric" | |
metric_query.717271376.metric.0.namespace: "" => "SomeNamespace" | |
metric_query.717271376.metric.0.period: "" => "900" | |
metric_query.717271376.metric.0.stat: "" => "Maximum" | |
metric_query.717271376.metric.0.unit: "" => "" | |
metric_query.717271376.return_data: "" => "false" | |
tags.%: "" => "1" | |
tags.Name: "" => "same_name" | |
threshold: "" => "0" | |
treat_missing_data: "" => "breaching" | |
Error: Error applying plan: | |
1 error occurred: | |
* module.some_module.aws_cloudwatch_metric_alarm.errors_alert: 1 error occurred: | |
* aws_cloudwatch_metric_alarm.errors_alert: Creating metric alarm failed: ValidationError: ComparisonOperators for ranges require ThresholdMetricId to be set | |
status code: 400, request id: f3195930-4732-4662-841a-8ded0d7f90be | |
Terraform does not automatically rollback in the face of errors. | |
2019-11-22T21:03:10.316-0800 [DEBUG] plugin.terraform-provider-aws_v2.39.0_x4: 2019/11/22 21:03:10 [ERR] plugin: plugin server: accept unix /var/folders/04/vzwwwk8x5899c8kwtrh0k3d00000gp/T/plugin673503926: use of closed network connection | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment