78848/how-to-read-data-from-a-file-in-terraform
Hi Guys,
I have one CSV file. I want to read data from this file using Terraform. How can I do that?
Hi@akhtar,
You can use the file function in Terraform. This file function reads the contents of a file at the given path and returns them as a string. You can go through the below document for more information.
https://www.terraform.io/docs/configuration/functions/file.html
Hi@akhtar, You can use aws_s3_bucket_object resource to create one ...READ MORE
Hi@akhtar, You can use kubernetes_namespace resource. It is used ...READ MORE
Hi@akhtar, Terraform has an inbuilt variable keyword to ...READ MORE
Hi@akhtar, You can find the script in the ...READ MORE
Hi@akhtar, You have to set an environment variable ...READ MORE
Hi@akhtar, A module is a container for multiple resources that ...READ MORE
Hi@akhtar, Terraform is agnostic to the underlying cloud ...READ MORE
Hi@MD, Terraform has a command named terraform workspace. ...READ MORE
Hi, You can use the file function in Terraform. ...READ MORE
Hi, I think you can use aws_db_instance resource to ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.