It seems to have a pretty low rate/retry limit on this API: An error occurred (InternalFailure) when calling the UpdateServiceLevelObjective operation (reached max retries: 2): None
Requested Resource(s) and/or Data Source(s)
Resource
aws_service_level_objective
Data
aws_service_level_objective
aws_service_level_objectives
Potential Terraform Configuration
**Resource**
resource "aws_service_level_objective" "example" {
name = "example" ## or id
request_based_sli_config {
request_based_sli_metric_config {
total_request_count_metric {
metric_stat {
metric {
namespace = "AWS/Lambda"
metric_name = "Invocations"
dimensions {
name = "FunctionName"
value = "my-lambda-lambda"
}
}
period = 60
stat = "Sum"
}
return_data = true
}
monitored_request_count_metric {
bad_count_metric {
id = "cwMetricNumerator"
metric_stat {
metric {
namespace = "AWS/Lambda"
metric_name = "Errors"
dimensions {
name = "FunctionName"
value = "my-lambda-lambda"
}
}
period = 60
stat = "Sum"
}
return_data = true
}
}
}
}
goal {
interval {
rolling_interval {
duration_unit = "DAY"
duration = 90
}
}
attainment_goal = 99.98
warning_threshold = 99.9
}
tags = {
Name = "My SLO Example"
}
}
**Data**
data "aws_service_level_objective" "example" {
name = "example" ## or id
}
## I'm not sure if somehow we could use this or the above to filter by tag or prefix. It doesn't seems to be possible tho.
data "aws_service_level_objectives" "example" {}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
A few months ago, AWS has annouced the CloudWatch Application Signals and one of the features is to be able to set up the SLOs.
Requested Resource(s) and/or Data Source(s)
Resource
Data
Potential Terraform Configuration
References
--
I also made a few scripts for it
file.json
Would you like to implement a fix?
No