-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Amazon CloudFront additional real-time metrics in Amazon CloudWatch #11577
Comments
Hi, any update on this ? This feature will be greatly appreciated ! |
I was looking for this as well, but wasn't able to find the functionality implemented in https://github.com/aws/aws-sdk-go. Did I miss it? If not, it's doubtful this can move forward until the SDK supports it. |
@piyushsonigra Is there a way to enable real time metrics via terraform now ? |
The functionality to manage additional and real-time metrics is already available in the aws-sdk-go since v1.34.13:
|
@anmolbhatia05 directly inside terraform resource, it's not available yet but you can enable additional metrics using null_resource and local-exec Provisioner and execute AWS cli command.
|
Potential new resource: resource "aws_cloudfront_monitoring_subscription" "example" {
distribution_id = aws_cloudfront_distribution.example.id
monitoring_subscription {
realtime_metrics_subscription_config {
realtime_metrics_subscription_status = "Enabled"
}
}
} |
I've started implementing this resource |
I added the resource in #18083 and it's now ready for review. Please upvote the PR for faster review! 🙏 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
AWS recently released feature in CloudFront to view additional cloudwatch metrics.
New or Affected Resource(s)
aws_cloudfront_distribution
Potential Terraform Configuration
References
https://aws.amazon.com/about-aws/whats-new/2019/12/cloudfront-realtime-metrics/
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional
The text was updated successfully, but these errors were encountered: