{% extends "aws/base_resource.tf.j2" %}
{% block resources %}
{% for resource in resources %}
{{ resource_spacer() }}
resource "aws_api_gateway_resource" "{{ resource.restApiId }}_{{ resource.id }}" {
  rest_api_id = "{{ resource.restApiId }}"
  parent_id   = "{{ resource.parentId }}"
  path_part   = "{{ resource.pathPart }}"
}

{% endfor %}
{% endblock %}
