Skip to content
11 changes: 7 additions & 4 deletions .github/workflows/digger_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ on:
description: 'run identifier'
required: false
job:
required: true
required: false
comment_id:
required: true
required: false
run_name:
required: false
spec:
description: 'spec input for digger'
required: false

run-name: ${{ inputs.run_name}}

Expand All @@ -29,7 +32,7 @@ jobs:
steps:
- name: digger run ${{github.event.inputs.id}}
run: echo digger run ${{ inputs.id }}
shell: bash
shell: bash
- uses: actions/checkout@v4
- uses: diggerhq/digger@vLatest
with:
Expand All @@ -39,4 +42,4 @@ jobs:
disable-locking: false
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ provider "aws" {

variable "bucket_id" {
type = string
default = "digger-s3backend-quickstart-aws-jalonso"
default = "amzn-digger-demo-s3"
}

variable "dynamo_lock_table_id" {
Expand Down
7 changes: 6 additions & 1 deletion digger.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
plan_storage:
type: s3
bucket: amzn-digger-demo-s3
region: us-east-1

projects:
- name: production
dir: prod
dir: prod
5 changes: 1 addition & 4 deletions prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ terraform {
}
}
backend "s3" {
bucket = "digger-s3backend-quickstart-aws-jalonso" # 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
*/
bucket = "amzn-digger-demo-s3" # Change if a different S3 bucket name was used for the backend
key = "terraform/state"
region = "us-east-1"
}
Expand Down
Loading