# this is a terraform file "*.tf" # lines starting with # are comments # terraform is now "commercial/proprietary" hence we go with drop replacement opentofu (free software) # Opentofu/Terraform work by writing "resources" that one wants to be created # those resources can then # a) be easily planned + applyed (i.e. created) # # tofu plan -out ourplan # # tofu apply outplan # b) be as easily removed/deletet/destroyed # # tofu destroy # # in this file we setup the "modules" and "terraform" stuff # so that aws resources can be managed via terraform terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.16" } } required_version = ">= 1.2.0" } provider "aws" { region = "eu-central-1" }