Skip to content

Instantly share code, notes, and snippets.

@shreeegupta
Last active May 26, 2023 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shreeegupta/8d77d66f72cbc55bbea2e34b20db3d86 to your computer and use it in GitHub Desktop.
Save shreeegupta/8d77d66f72cbc55bbea2e34b20db3d86 to your computer and use it in GitHub Desktop.
two_tier_architecture_using_terraform/providers.tf
# Terraform and Provider Blocks
terraform {
required_providers {
aws = {
version = "~> 4.55"
source = "hashicorp/aws"
}
}
#####Uncomment this backend section after creating s3 bucket and dynamodb table####
# backend "s3" {
# bucket = "2-tier-state-bucket"
# key = "terraform.tfstate"
# region = "us-east-1"
# dynamodb_table = "2-tier-state-table"
# }
}
provider "aws" {
region = var.aws_region
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment