quote aws ec2 tags

This commit is contained in:
Puneeth Nanjundaswamy
2020-07-10 14:51:38 +02:00
parent 08b1c62710
commit d3195b7b88
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
{% for key, value in ec2_tags.tags.iteritems()%}
{{telegraf_agent_aws_tags_prefix}}{{ key }} = "{{ value }}"
"{{telegraf_agent_aws_tags_prefix}}{{ key }}" = "{{ value }}"
{% endfor %}
{% endif %}
@ -68,4 +68,4 @@
{% endif %}
{% endfor %}
{% endif %}
{% endif %}

View File

@ -9,7 +9,7 @@
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
{% for key, value in ec2_tags.tags.items()%}
{{telegraf_agent_aws_tags_prefix}}{{ key }} = "{{ value }}"
"{{telegraf_agent_aws_tags_prefix}}{{ key }}" = "{{ value }}"
{% endfor %}
{% endif %}