Skip to content

Commit 030720e

Browse files
committed
fix terratest
1 parent db44a3c commit 030720e

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
actions_subcommand: 'readme'
2424
github_token: '${{ secrets.GITHUB }}'
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
GITHUB_TOKEN: ${{ secrets.CLOUDDROVE_GITHUB_TOKEN }}
2727

2828

2929
- name: 'pre-commit check errors'

.github/workflows/terraform.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,28 @@ jobs:
1313
uses: actions/checkout@master
1414

1515
- name: 'Terraform Format'
16-
uses: 'clouddrove/github-actions@v9.0'
16+
uses: 'clouddrove/github-actions@v9.0.1'
1717
with:
1818
actions_subcommand: 'fmt'
1919

2020
- name: 'Terraform init'
21-
uses: 'clouddrove/github-actions@v9.0'
21+
uses: 'clouddrove/github-actions@v9.0.1'
2222
with:
2323
actions_subcommand: 'init'
2424
tf_actions_working_dir: ./_example
2525

2626
- name: 'Terraform validate'
27-
uses: 'clouddrove/github-actions@v9.0'
27+
uses: 'clouddrove/github-actions@v9.0.1'
2828
with:
2929
actions_subcommand: 'validate'
3030
tf_actions_working_dir: ./_example
3131

32+
- name: 'Terraform plan'
33+
uses: 'clouddrove/github-actions@v9.0.1'
34+
with:
35+
actions_subcommand: 'plan'
36+
tf_actions_working_dir: ./_example
37+
3238
- name: 'Slack Notification'
3339
uses: clouddrove/action-slack@v2
3440
with:

.github/workflows/terratest.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,20 @@ jobs:
1414
- name: 'Checkout'
1515
uses: actions/checkout@master
1616

17-
- name: Configure AWS Credentials
18-
uses: clouddrove/configure-aws-credentials@v1
17+
- name: Install doctl
18+
uses: digitalocean/action-doctl@v2
1919
with:
20-
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY }}
21-
aws-secret-access-key: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY }}
22-
aws-region: us-east-2
23-
20+
token: ${{ secrets.DO_TOKEN }}
2421

2522
- name: 'Terratest'
2623
if: ${{ github.event.label.name == 'terratest' }}
27-
uses: 'clouddrove/github-actions@v9.0'
24+
uses: 'clouddrove/github-actions@v9.0.1'
2825
with:
2926
actions_subcommand: 'terratest'
3027
tf_actions_working_dir: '_test'
3128
env:
3229
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
DO_TOKEN: ${{ secrets.DO_TOKEN }}
3331

3432

3533
- name: 'Slack Notification'

0 commit comments

Comments
 (0)