Grokking DevOps and SRE Interviews
Vote

0% completed

​

How Terraform Works

resource "aws_s3_bucket" "receipts" { bucket = "grocery-receipts-prod" }

These three lines ask for one storage bucket in AWS, the cloud provider that the grocery company uses. They do not say how to create it, which API to call, or what to do if it already exists. Terraform works out those steps.

Run terraform apply once, and the bucket appears. Run it again, and nothing happens. What makes the second run do nothing, and why does that property matter?

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content