Skip to content

Commit

Permalink
Merge pull request #1 from diggerhq/motatoes-patch-1
Browse files Browse the repository at this point in the history
Update main.tf
  • Loading branch information
motatoes authored Jun 5, 2024
2 parents a702779 + 38bada7 commit e2fa45c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/digger_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
run: echo digger run ${{ inputs.id }}
shell: bash
- uses: actions/checkout@v4
- uses: diggerhq/digger-ee@vLatest
- uses: diggerhq/digger@vee
with:
ee: 'true'
setup-aws: true
# recommended to use oidc instead
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -40,4 +41,4 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DIGGER_LICENSE_KEY: ${{ secrets.DIGGER_LICENSE_KEY }}
DIGGER_LICENSE_KEY: ${{ secrets.DIGGER_LICENSE_KEY }}
2 changes: 1 addition & 1 deletion dev-ec2/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

resource "aws_ssm_parameter" "foo" {
name = "dev/ec2"
name = "/dev/ec2"
type = "String"
value = "ec2 instance"
}
4 changes: 1 addition & 3 deletions dev-vpc/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@


resource "aws_ssm_parameter" "foo" {
name = "dev/vpc"
name = "/dev/vpc"
type = "String"
value = "10.10.10.0/32"
}
2 changes: 1 addition & 1 deletion prod-ec2/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

resource "aws_ssm_parameter" "foo" {
name = "prod/ec2"
name = "/prod/ec2"
type = "String"
value = "ec2 prod"
}
4 changes: 1 addition & 3 deletions prod-vpc/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@


resource "aws_ssm_parameter" "foo" {
name = "prod/vpc"
name = "/prod/vpc"
type = "String"
value = "11.10.10.0/32"
}

0 comments on commit e2fa45c

Please sign in to comment.