The Terraform Cloud Agent is a remote runner for Terraform Cloud that gives the ability to provision resources in private networks that are not open to the internet. It does this by establishing an HTTPS connection to the Terraform Cloud control plane, and then polling for instructions.
When a terraform plan or apply job is available for the agent, it receives a bundle from the control plane that includes the terraform configuration needing to be run. The agent then downloads the terraform version specified in the workspace, executes the plan or apply, and transmits the results back to the control plane.
The agent can be run in any environment, and typically behind the firewall. This means your terraform code can reach any system in the network that is reachable from the host where the agent is running. Additionally, the agent itself can pass data to the terraform run environment through the use of environment variables.
Install Docker Ubuntu 20.04
1. sudo apt update
2. sudo apt install apt-transport-https ca-certificates curl software-properties-common
3. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
4. sudo apt install docker-ce
5. sudo systemctl status docker
Follow along and watch how to keep that structure in place.
ABOUT OUR CHANNEL: My channel covers various topics about networking, automation and cloud technologies . We cover lots of cool stuff such as cisco, terraform, aws, firewalls, security and more
Check out my channel here: / @letmetechyou
Don’t forget to subscribe!
FIND MY BLOG AThttps://letmetechyou.com
GET IN TOUCHContact us at info @ letmetechyou.com for questions and video ideas.