Summary
{{ summary.findings }} findings: {{ summary.by_severity.High }} High, {{ summary.by_severity.Medium }} Medium, {{ summary.by_severity.Low }} Low.{% if summary.monthly_savings_usd %} About ${{ "{:,.2f}".format(summary.monthly_savings_usd) }}/month possible savings (estimate).{% endif %}
Top fixes
{% for x in summary.top_fixes %}{{ fix_item(x) }}{% endfor %}
By pillar
{% for line in pillar_lines %}- {{ line }}
{% endfor %}
{% if theme_lines %}
By theme
A finding can be in more than one.
{% for line in theme_lines %}- {{ line }}
{% endfor %}
{% endif %}
{% if summary.quick_wins %}
Quick wins
Low effort, with suggested code.
{% for x in summary.quick_wins %}{{ fix_item(x) }}{% endfor %}
{% endif %}
Estimated monthly cost (estimate)
{% if cost.budget %}
{% if cost.budget.passed %}Budget passed{% else %}Budget FAILED: {{ cost.budget.breaches | join("; ") }}{% endif %}.
{% if cost.budget.max_monthly_usd is not none %}Limit ${{ "{:,.2f}".format(cost.budget.max_monthly_usd) }}/month.{% endif %}
{% if cost.budget.max_increase_usd is not none %}Rise at most ${{ "{:,.2f}".format(cost.budget.max_increase_usd) }}/month.{% endif %}
{% if cost.budget.max_increase_percent is not none %}Rise at most {{ cost.budget.max_increase_percent }}%.{% endif %}
{% for n in cost.budget.not_checked %}Not checked: {{ n }}.{% endfor %}
{% endif %}
{{ cost.basis }} {% if "," in cost.region %}Regions{% else %}Region{% endif %} {{ cost.region }}{% if cost.snapshot_date %}, AWS prices of {{ cost.snapshot_date }}{% endif %}.{% if prices %} Prices: {{ prices }}.{% endif %}
{% if cost.prices_unavailable %}
{{ cost.prices_unavailable }} The totals below are not the stack's cost.
{% endif %}
{% if cost.illustrated_monthly_usd %}
${{ "{:,.2f}".format(cost.headline_monthly_usd) }}/month, an illustration, not a bill: ${{ "{:,.2f}".format(cost.total_monthly_usd) }} the IaC states plus assumed low-traffic usage of ${{ "{:,.2f}".format(cost.illustrated_monthly_usd) }}. A real .aws-arch-agent-usage.yaml replaces it. Budgets and cost comparisons ignore it.
{% endif %}
{% if cost.usage_monthly_usd %}
Fixed (from the IaC): ${{ "{:,.2f}".format(cost.fixed_monthly_usd) }}/month. usage assumed from the usage profile: ${{ "{:,.2f}".format(cost.usage_monthly_usd) }}/month.
{% endif %}
| Template / module | Region | Resources priced | {% if cost.usage_monthly_usd %}Fixed | Usage assumed | {% endif %}Estimated monthly cost |
{% for s in cost.stacks %}
{{ s.name }} | {{ s.region or cost.region }} | {{ s.resources_priced }} | {% if cost.usage_monthly_usd %}${{ "{:,.2f}".format(s.fixed_monthly_usd if s.fixed_monthly_usd is defined else s.monthly_usd) }} | ${{ "{:,.2f}".format(s.usage_monthly_usd if s.usage_monthly_usd is defined else 0) }} | {% endif %}${{ "{:,.2f}".format(s.monthly_usd) }} |
{% endfor %}
| Total | | {{ cost.stacks | sum(attribute="resources_priced") }} | {% if cost.usage_monthly_usd %}${{ "{:,.2f}".format(cost.fixed_monthly_usd) }} | ${{ "{:,.2f}".format(cost.usage_monthly_usd) }} | {% endif %}${{ "{:,.2f}".format(cost.total_monthly_usd) }} |
{% if cost.top_resources %}
Top resources by estimated cost
{% for r in cost.top_resources %}
{{ r.name }} ({{ r.type }}) in {{ r.file }}{% if r.line %} (line {{ r.line }}){% endif %}: ${{ "{:,.2f}".format(r.monthly_usd) }}/month{% if r.illustrated %} assumed{% elif r.usage_assumed %} usage assumed{% endif %}. {{ r.basis }}
{% endfor %}
{% endif %}
{% if cost.diff %}
Cost change
Compared with {% if cost.diff.source %}{{ cost.diff.source }}{% else %}the earlier scan{% endif %}: ${{ "{:,.2f}".format(cost.diff.previous_monthly_usd) }} → ${{ "{:,.2f}".format(cost.diff.current_monthly_usd) }}/month ({{ "{:+,.2f}".format(cost.diff.delta_monthly_usd) }}{% if cost.diff.delta_percent is not none %}, {{ "{:+g}".format(cost.diff.delta_percent) }}%{% endif %}).
{% if cost.diff.added or cost.diff.removed or cost.diff.changed %}
| Change | Resource | Template / module | Before | After | Delta |
{% for r in cost.diff.added %}| added | {{ r.name }} | {{ r.stack }} | | ${{ "{:,.2f}".format(r.monthly_usd) }} | {{ "{:+,.2f}".format(r.monthly_usd) }} |
{% endfor %}
{% for r in cost.diff.removed %}| removed | {{ r.name }} | {{ r.stack }} | ${{ "{:,.2f}".format(r.monthly_usd) }} | | {{ "{:+,.2f}".format(-r.monthly_usd) }} |
{% endfor %}
{% for r in cost.diff.changed %}| changed | {{ r.name }} | {{ r.stack }} | ${{ "{:,.2f}".format(r.previous_monthly_usd) }} | ${{ "{:,.2f}".format(r.current_monthly_usd) }} | {{ "{:+,.2f}".format(r.delta_monthly_usd) }} |
{% endfor %}
{% endif %}
{% endif %}
{% if cost.savings_findings %}
Possible savings from {{ cost.savings_findings }} finding(s) in this report: ${{ "{:,.2f}".format(cost.savings_monthly_usd) }}/month (estimate; not subtracted from the total).
{% endif %}
{% if cost.not_modelled %}
No cost model yet: {{ cost.not_modelled }}.{% if cost.not_priced %} {{ cost.not_priced.values() | sum }} resource(s) not priced; the JSON report lists them.{% endif %}
{% elif cost.not_priced %}
Not priced (usage-based, or no AWS price found): {% for t, n in cost.not_priced.items() %}{{ t }} ×{{ n }}{% if not loop.last %}, {% endif %}{% endfor %}.
{% endif %}