Sobes.tech
Junior — Middle

What information is usually described in Terraform manifest files?

sobes.tech AI

Answer from AI

Terraform manifest files (usually with the .tf extension) describe infrastructure as code. They specify:

  • Providers (e.g., AWS, Azure, GCP), which define the cloud services Terraform will work with.
  • Resources — specific infrastructure components such as virtual machines, networks, databases.
  • Variables and their values for parameterizing the configuration.
  • Outputs, which can be used to pass information between modules or display after application.
  • Modules — reusable configuration blocks.

Example of a simple resource in Terraform:

provider "aws" {
  region = "us-west-2"
}

resource "aws_instance" "example" {
  ami           = "ami-0c55b159cbfafe1f0"
  instance_type = "t2.micro"
}
What information is usually described in Terraform… - sobes.tech