...

/

Resource Addressing and Resource Parameters to Connect Resources

Resource Addressing and Resource Parameters to Connect Resources

Learn about resource addressing and resource parameters that can be referenced within a configuration.

Resource addressing

The resources we create in our Terraform configuration will often be related. For instance, creating a web application that runs on virtual machines might involve a virtual network, virtual machines, network interfaces, firewall rules, and a load balancer. All these resources will refer to each other for their configuration. The load balancer will need to reference the network interfaces on the virtual machines, and the network interfaces will need to reference a subnet on the virtual network. ...