Team, i would like to learn about Terraform Iac. I...
# terraform
p
Team, i would like to learn about Terraform Iac. I have the basic feel of the tool but would love to launch deeper. Any lead on guides and learning materials is highly welcome.
c
I'd suggest starting with a basic project, like getting an EC2 instance up and running, ssh into it and run an ubuntu update šŸ™‚
s
HashiCorp (makers of Terraform) has an excellent set of free tutorials at: https://developer.hashicorp.com/terraform/tutorials Combined with the documentation and Terraform Registry (provider & module) will give you a wealth of up-to-date information: https://developer.hashicorp.com/terraform/docs https://developer.hashicorp.com/terraform/language https://registry.terraform.io/browse/providers https://registry.terraform.io/browse/modules The registry is really important because that's where you will find the details on the resources (in providers) and modules you will use on an ongoing basis.
@Cesar Marcial’s recommendation of a basic project is good too. You need to get to the point where you're connecting the output/attribute of one resource/module as the input/argument of another (not just typing everything by hand). Also, if you're trying to build an AWS VPC instead of using the default, use a module like: https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest -- building all the little pieces individually is tedious.
p
Am very grateful for your suggestions. Let me have a look.
m
Terraform Up and Running by Yevgeniy Brikman
s
The online version of Terraform Up & Running, Ansible U&R, Docker U&R, Kuberrnetes U&R and several other books is available Humble Bundle for $18 until Feb 16 or 17: https://www.humblebundle.com/books/linux-from-beginner-to-professional-oreilly-books (I have no relationship with them except as a customer)