Closed
Description
AWS Cloud Formation costs: https://aws.amazon.com/cloudformation/pricing/
aws_cloudformation_stack
and aws_cloudformation_stack_set
are the main resources. For each one, we can use this logic to show the cost components:
- If
template_body
is set AND its "Resources.types" start withAWS::*
,Alexa::*
, orCustom::*
then returnIsSkipped: true, NoPrice: true,
as it's a free resource. - Else, show both of these:
- "Handler operations", units "operations". Usage file param
monthly_handler_operations: 10000 # Monthly number of non-free handler operations (resources outside of the AWS::*, Alexa::*, and Custom::* namespaces).
- "Durations above 30s", units "seconds". Usage file param
monthly_duration_secs: 0 # Monthly duration of non-free handler operations that go above 30 seconds, in seconds.
As normal, the cost components should show cost-depends-on-usage if the usage file param is not specified.
Free resources:
aws_cloudformation_stack_set_instance
aws_cloudformation_type