Skip to content

Commit

Permalink
Merge pull request #365 from tschwarz01/application-security-groups-t…
Browse files Browse the repository at this point in the history
…emplate

Adds application_security_groups to resource templates
  • Loading branch information
arnaudlh committed May 25, 2022
2 parents 4a3cf9f + 9caa018 commit 47c3ef4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions templates/resources/application_security_groups.tfvars.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
application_security_groups = {
{% for key, value in resources[tfstate_resource].resources[subscription_key].application_security_groups.items() %}
{{ key }} = {
name = "{{ value.name }}"
resource_group_key = "{{ value.resource_group_key }}"
{% if value.tags is defined %}
tags = {
{% for tag_key, tag_value in value.tags.items() %}
{{ tag_key }} = "{{ tag_value }}"
{% endfor %}
}
{% endif %}
}
{% endfor %}
}

0 comments on commit 47c3ef4

Please sign in to comment.