Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Add ip_configuration block to private endpoints #483

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions templates/resources/private_endpoints.tfvars.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ private_endpoints = {
{% endif %}
}
{% endif %}

{% if v.ip_configurations is defined %}
ip_configurations = {
{% for k, ip_configuration in v.ip_configurations.items() %}
{{ k }} = {
name = "{{ip_configuration.name}}"
private_ip_address = "{{ip_configuration.private_ip_address}}"
{% if ip_configuration.subresource_name is defined %}
subresource_name = "{{ip_configuration.subresource_name }}"
{% endif %}
{% if ip_configuration.member_name is defined %}
member_name = "{{ip_configuration.member_name }}"
{% endif %}
}
{% endfor %}
}
{% endif %}

}
{% endfor %}
}
Expand Down