Merge pull request #129 from comtravo/chore/fix-aws-tags

quote aws ec2 global tags
This commit is contained in:
Werner Dijkerman
2020-07-10 15:32:19 +02:00
committed by GitHub
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 %}