Skip to content

Instantly share code, notes, and snippets.

@a-patel
Created February 25, 2022 20:46
Show Gist options
  • Save a-patel/37e4b56eba50a3363c629f095e8ff3bf to your computer and use it in GitHub Desktop.
Save a-patel/37e4b56eba50a3363c629f095e8ff3bf to your computer and use it in GitHub Desktop.
Amazon EKS Terraform Workshop: Backend (Remote State)
terraform {
backend "s3" {
bucket = "<REPLACE_WITH_YOUR_REMOTESTATE_BUCKETNAME>"
dynamodb_table = "<REPLACE_WITH_YOUR_DYNAMODB_TABLENAME>"
key = "terraform-aws-eks-workshop.tfstate"
region = "us-west-1"
encrypt = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment