{% import "aws/macros.j2" as aws_macros %}
{% import "common/macros.j2" as common_macros %}
{# Joiner for consistent blank lines between rendered resources #}
{% set resource_spacer = joiner('\n\n') %}

{# Base template for AWS resources #}

{# Macro to render tags for an AWS resource #}
{% macro render_common_tags(resource, indent=2) %}
{{ aws_macros.render_aws_tags(resource, indent) }}
{% endmacro %}

{# Alias for AWS-specific tag rendering #}
{% macro render_aws_tags(resource, indent=2) %}
{{ aws_macros.render_aws_tags(resource, indent) }}
{% endmacro %}

{# Block that child templates override to emit resource definitions #}
{% block resources %}{% endblock %}
