terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 2.70"
}
}
}
provider "aws" {
region = "us-west-2" # Replace with AWS region
}
resource "aws_ecs_cluster" "my_cluster" {
name = "my-ecs-cluster"
}
terraform init
terraform apply
Would you like a cup of coffee?