Terrafrom: Up & Rnning, 2nd Edition
October 24, 2020•760 words
Terrafrom
How Terraform works
Written in Go
Compiles to one binary
Terraform Configurations
1.Text files that specify what infrastructure you want to create. These configurations are the “code” in “infrastructure as code.
2.Example below
resource 'aws_instance' 'example' {
ami = 'ami-0c55b159cbfafe1f0'
instance_type = 't2.micro'
}
resource 'google_dns_record_set' 'a' {
name = 'demo.google-example.com'
managed_zone = 'example-zone'
type = 'A'
ttl ...
Read post