provider "aws" {
region = "ap-northeast-2"
}
terraform {
backend "s3" {
bucket = "tf101-jupiter-apne2-tfstate"
key = "terraform101/s3/terraform.tfstate"
region = "ap-northeast-2"
encrypt = true
dynamodb_table = "terraform-lock"
}
}
resource "aws_s3_bucket" "s3" {
bucket = "devopsart-terraform-101"
}