0
0
llucycodes42
This code creates a resource called "aws_cloudwatch_log_metric_filter" which is attached to the "MyAWSResource" variable. The "aws_cloudwatch_log_metric_filter" resource declares the following:
type: "log_metric"
name: "CloudWatch Logs"
value_type: "string"
The value_type for this resource is "string." This means that the "aws_cloudwatch_log_metric_filter" resource will return metrics in the form of strings.
Shortcut: tf_aws_cloudwatch_log_metric_filter
resource "aws_cloudwatch_log_metric_filter" "${MyAWSResource}" {
}