Getting into HashiCorp Consul, Part 13: Consul-Terraform-Sync

Cole Morrison and Rosemary Wang (Developer Advocates at HashiCorp) learn Consul the hard way by setting it from scratch. In this episode, they configure Consul-Terraform-Sync (CTS) to retrieve service addresses and update load balancers and security groups with a custom Terraform module. 00:39 - Recap of Part 12 02:35 - The problem of changing service addresses 04:25 - Running infrastructure as code based on event 05:00 - Introduction to Consul-Terraform-Sync (CTS) 09:18 - Introduction to our setup 13:50 - Configure Consul-Terraform-Sync 42:14 - Run CTS for the first time 43:40 - Set input variables to CTS 53:50 - Examine files created by CTS 1:06:15 - Develop Terraform module to work with CTS 1:15:45 - Use Terraform functions to parse service information 1:28:40 - Run CTS to configure load balancer and security groups 1:31:50 - Destroy CTS Terraform resources 1:47:24 - Manually upgrade module for CTS 1:48:10 - Create load balancer and security group based on service 1:50:00 - Add a second service, CTS adds it to target group To learn more, check out... Previous episodes: https://hashi.co/getting-into-hashico... Working Repository: https://github.com/jcolemorrison/gett... Tutorials: https://learn.hashicorp.com/collectio... Consul NIA Configuration: https://www.consul.io/docs/nia/config... Developing Consul-Terraform-Sync Modules: https://www.consul.io/docs/nia/terraf... #Consul #Terraform #HashiCorp #AWS #ServiceDiscovery #ServiceMesh #InfrastructureAsCode - Code with us! Follow HashiCorpLive on Twitch for future broadcasts:   / hashicorplive   - If you liked this video and want to see more from HashiCorp, subscribe to our channel: https://www.youtube.com/c/HashiCorp?s... To learn more, visit our hands-on interactive lab environment, HashiCorp Learn: https://learn.hashicorp.com/ HashiCorp is the leader in multi-cloud infrastructure automation software. The HashiCorp software suite enables organizations to adopt consistent workflows to provision, secure, connect, and run any infrastructure for any application. HashiCorp open source tools Vagrant, Packer, Terraform, Vault, Consul, Nomad, Boundary, and Waypoint are downloaded tens of millions of times each year and are broadly adopted by the Global 2000. Enterprise versions of these products enhance the open source tools with features that promote collaboration, operations, governance, and multi-data center functionality. For more information, visit: www.hashicorp.com or follow us on social media: Twitter: @hashicorp LinkedIn:   / hashicorp   Facebook:   / hashicorp