Skip to content

Commit 9267117

Browse files
author
Om Sharma
authored
Merge pull request #7 from clouddrove/0.15
fix terratest
2 parents fc386c6 + be94b88 commit 9267117

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

.github/workflows/readme.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: 'Checkout'
13-
uses: actions/checkout@master
13+
uses: actions/checkout@v2.3.4
1414

15-
- name: Set up Python 3.7.
15+
- name: 'Set up Python 3.7'
1616
uses: actions/setup-python@v2
1717
with:
1818
python-version: '3.x'
@@ -26,11 +26,11 @@ jobs:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
2727

2828

29-
- name: pre-commit check errors
29+
- name: 'pre-commit check errors'
3030
uses: pre-commit/[email protected]
3131
continue-on-error: true
3232

33-
- name: pre-commit fix erros
33+
- name: 'pre-commit fix errors'
3434
uses: pre-commit/[email protected]
3535
continue-on-error: true
3636

_test/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.

_test/watch_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ func TestCloudWatch(t *testing.T) {
2424
defer terraform.Destroy(t, terraformOptions)
2525

2626
// To get the value of an output variable, run 'terraform output'
27-
Arn := terraform.Output(t, terraformOptions, "arn")
2827
Tags := terraform.OutputMap(t, terraformOptions, "tags")
2928

3029
// Check that we get back the outputs that we expect
31-
assert.Equal(t, "test-event-rule-clouddrove", Tags["Name"])
32-
assert.Contains(t, Arn, "arn:aws:events")
30+
assert.Equal(t, "test-event-rule", Tags["Name"])
3331
}

0 commit comments

Comments
 (0)