From b7f5230c0f73e8174b2a6e3d6234e25ab42c35d4 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Tue, 4 Nov 2025 11:18:18 -0500 Subject: [PATCH 1/7] Update main.tf --- prod/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prod/main.tf b/prod/main.tf index ed17668..ba28e8a 100644 --- a/prod/main.tf +++ b/prod/main.tf @@ -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 } @@ -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" @@ -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-" From e7491c0191e9e511089d7bf67c619923f10bbdf5 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Tue, 4 Nov 2025 11:25:42 -0500 Subject: [PATCH 2/7] Update digger.yml --- digger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digger.yml b/digger.yml index 82a9520..c55a9b9 100644 --- a/digger.yml +++ b/digger.yml @@ -4,5 +4,5 @@ plan_storage: region: us-east-1 projects: -- name: production +- name: production-pce dir: prod From 2fcd8188a591928c97367424ece308cb43525fe5 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Tue, 4 Nov 2025 11:47:34 -0500 Subject: [PATCH 3/7] Update digger_workflow.yml --- .github/workflows/digger_workflow.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/digger_workflow.yml b/.github/workflows/digger_workflow.yml index 7ceb384..d4efa42 100644 --- a/.github/workflows/digger_workflow.yml +++ b/.github/workflows/digger_workflow.yml @@ -5,13 +5,6 @@ on: types: [ opened, synchronize, reopened ] issue_comment: types: [created] - workflow_dispatch: - inputs: - run_name: - required: false - spec: - description: 'spec input for digger' - required: true permissions: contents: write From a59a65f0d1cc6af880fa10004f31bcb1c9183da7 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Tue, 4 Nov 2025 11:52:49 -0500 Subject: [PATCH 4/7] Update digger_workflow.yml --- .github/workflows/digger_workflow.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/digger_workflow.yml b/.github/workflows/digger_workflow.yml index d4efa42..f40f4f1 100644 --- a/.github/workflows/digger_workflow.yml +++ b/.github/workflows/digger_workflow.yml @@ -1,6 +1,11 @@ name: Digger Pull Request Workflow on: + workflow_dispatch: + inputs: + spec: + description: 'optional digger spec' + required: false pull_request: types: [ opened, synchronize, reopened ] issue_comment: From 265e3a5c93aab4812a77b08dc4ac14c1c4e3bb90 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Tue, 4 Nov 2025 11:53:50 -0500 Subject: [PATCH 5/7] Update digger_workflow.yml --- .github/workflows/digger_workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/digger_workflow.yml b/.github/workflows/digger_workflow.yml index f40f4f1..d6fe73a 100644 --- a/.github/workflows/digger_workflow.yml +++ b/.github/workflows/digger_workflow.yml @@ -6,6 +6,9 @@ on: spec: description: 'optional digger spec' required: false + run_name: + description: 'optional run name sent by Digger' + required: false pull_request: types: [ opened, synchronize, reopened ] issue_comment: From bd68bc8938b45275345dfb71b3c52493a5adbd80 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Wed, 5 Nov 2025 05:48:51 -0500 Subject: [PATCH 6/7] Update digger_workflow.yml --- .github/workflows/digger_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/digger_workflow.yml b/.github/workflows/digger_workflow.yml index d6fe73a..706621a 100644 --- a/.github/workflows/digger_workflow.yml +++ b/.github/workflows/digger_workflow.yml @@ -36,7 +36,7 @@ jobs: - name: digger run uses: diggerhq/digger@vLatest with: - no-backend: true + digger-spec: ${{ inputs.spec }} disable-locking: true setup-terraform: true env: From 6831b5c9cf4ada2b9e41e7f6f004af1c20cf3e70 Mon Sep 17 00:00:00 2001 From: Alfredo Alonso Date: Wed, 5 Nov 2025 05:54:06 -0500 Subject: [PATCH 7/7] Update digger_workflow.yml --- .github/workflows/digger_workflow.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/digger_workflow.yml b/.github/workflows/digger_workflow.yml index 706621a..cfc518e 100644 --- a/.github/workflows/digger_workflow.yml +++ b/.github/workflows/digger_workflow.yml @@ -9,10 +9,6 @@ on: run_name: description: 'optional run name sent by Digger' required: false - pull_request: - types: [ opened, synchronize, reopened ] - issue_comment: - types: [created] permissions: contents: write