Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11359

Populating a terraform map variable from a CSV file

$
0
0

How to define a value for map variable in a CSV file.
Getting following error :
“Inappropriate value for attribute “tags”: map of string required.”
CSV file is like:

srl_no,create_in_rg,proximity_placement_group_name,tag_ppg,aset_name,tag_aset
1,hub-vnet-rg,test-hub-pg,division = 'XYZ' desc = 'test-ppg',test-hub-aset,division = 'ABC' desc = 'test-aset'

Thanks.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 11359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>