Is this possible? So far I have not had much luck but I have limited Linux skills. I want to be able to map a persistent share so I can store Terraform state files that can be accessed by every person on my team. Using the PowerShell Shell, I can easily create a new psdrive to the share but you
Tag: terraform
How can i add linux bash script file into terraform code?
My requirement is I need to create 3 aws instances using terraform and run a 3 different bash scripts in it. All files are on same server. I already have terraform code to create an infrastructure and 3 bash script ready to use. this is my terraform code to create an AWS instance But i am not sure how i
SSH connection to Azure VM with Terraform
I have successfully created a VM as part of a Resource Group on Azure using Terraform. Next step is to ssh in the new machine and run a few commands. For that, I have created a provisioner as part of the VM resource and set up an SSH connection: If I run “terraform apply”, it seems to get into an
Environment variables from .bashrc not being loaded when sourced from terraform script
I have a script being run with terraform on an EC2 instance like so: I have some environment variables defined in the .bashrc of this instance that I would like this script to have access to. However, inside that script I put, as the first line, but the variables defined in .bashrc were still unset. What do I need to