Skip to content

Commit bd1bf09

Browse files
committed
Revert "Add terraform from aws quickstart + minor modifications"
This reverts commit 6b4b9b5.
1 parent 6b4b9b5 commit bd1bf09

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
# demo-infracost-append
1+
# quickstart-actions-aws
2+
3+
This is the repository for a sample quickstart action with digger.
4+
5+
# backend
6+
this folder will provision (most) of the backend required.
7+
Main.tf provisions the following resources.
8+
9+
1. The Backend state bucket for terraform to store state in
10+
2. The required DynamoDB table for Digger to store locks.
11+
12+
# prod
13+
This is a sample terraform prod code that will (if given the chance) spin up a vpc + an EC2 instance, and required security groups.
14+
The instance is locked down to not be accessible from outside the network.
15+
16+
# .github/workflows
17+
Contains digger-plan.yml with two different potential ways of authenticating against an AWS account. Please review the main digger documentation on details as to which scheme to use.

backend/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "5.29.0"
5+
version = "5.24.0"
66
}
77
}
88
}
@@ -13,10 +13,12 @@ provider "aws" {
1313

1414
variable "bucket_id" {
1515
type = string
16+
default = "digger-s3backend-quickstart-aws"
1617
}
1718

1819
variable "dynamo_lock_table_id" {
1920
type = string
21+
default = "digger-locktable-quickstart-aws"
2022
}
2123

2224
resource "aws_s3_bucket" "example" {

prod/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "5.29.0"
5+
version = "5.24.0"
66
}
77
}
88
backend "s3" {
9-
bucket = "digger-s3backend-demo-infracost-append" # Change if a different S3 bucket name was used for the backend
9+
bucket = "digger-s3backend-quickstart-aws" # Change if a different S3 bucket name was used for the backend
1010
/* Un-comment to use DynamoDB state locking
11-
dynamodb_table = "digger-locktable" # Change if a different DynamoDB table name was used for backend
11+
dynamodb_table = "digger-locktable-quickstart-aws" # Change if a different DynamoDB table name was used for backend
1212
*/
1313
key = "terraform/state"
1414
region = "us-east-1"

0 commit comments

Comments
 (0)