Sure, but that only works if you’re modifying an existing piece of infrastructure. If I’m creating a new cloud function they have no idea if it’s getting invoked once per week or once per second.
resource "aws_lambda" "foo" {
estimated_invocations = {p5: "1 per hour", p95: "100 per minute"}
# or
estimated_invocations = {avg: "5 per minute"}
}
Then you might get a range estimate of some kind, and maybe even an automated pull request with the real numbers if you're way off?