Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ terraform {
}
backend "s3" {
bucket = "amzn-digger-demo-s3" # Change if a different S3 bucket name was used for the backend
/* Un-comment to use DynamoDB state locking
dynamodb_table = "digger-locktable-quickstart-aws" # Change if a different DynamoDB table name was used for backend
*/
key = "terraform/state"
region = "us-east-1"
}
}


provider "aws" {
region = "us-east-1" # Replace with your desired AWS region
}
Expand All @@ -26,6 +24,7 @@ resource "aws_vpc" "vpc_network" {
}
}


resource "aws_subnet" "vpc_subnet" {
vpc_id = aws_vpc.vpc_network.id
cidr_block = "10.0.1.0/24"
Expand All @@ -37,6 +36,7 @@ resource "aws_subnet" "vpc_subnet" {
}
}


resource "aws_security_group" "security_group" {
vpc_id = aws_vpc.vpc_network.id
name_prefix = "terraform-"
Expand Down
Loading