Last active
May 26, 2023 16:50
-
-
Save shreeegupta/8d77d66f72cbc55bbea2e34b20db3d86 to your computer and use it in GitHub Desktop.
two_tier_architecture_using_terraform/providers.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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