Skip to content
Advertisement

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

Advertisement