Skip to content

Commit

Permalink
Merge pull request #6 from clouddrove/0.15
Browse files Browse the repository at this point in the history
fix terratest
  • Loading branch information
Om Sharma committed Jul 9, 2021
2 parents a000101 + 0ed7229 commit 5c521c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 32 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
uses: actions/checkout@v2.3.4

- name: Set up Python 3.7.
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: 'create readme'
uses: 'clouddrove/github-actions@v7.0'
uses: 'clouddrove/github-actions@v8.0'
with:
actions_subcommand: 'readme'
github_token: '${{ secrets.GITHUB}}'
Expand All @@ -35,7 +35,7 @@ jobs:
continue-on-error: true

- name: 'push readme'
uses: 'clouddrove/github-actions@v7.0'
uses: 'clouddrove/github-actions@v8.0'
continue-on-error: true
with:
actions_subcommand: 'push'
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ jobs:
uses: actions/checkout@v2.3.4

- name: 'Terraform Format'
uses: 'clouddrove/github-actions@v7.0'
with:
actions_subcommand: 'fmt'
- name: 'Terraform Format'
uses: 'clouddrove/github-actions@v7.0'
uses: 'clouddrove/github-actions@v8.0'
with:
actions_subcommand: 'fmt'

Expand All @@ -36,22 +32,24 @@ jobs:
aws-region: us-east-2

- name: 'Terraform init'
uses: 'clouddrove/github-actions@v7.0'
uses: 'clouddrove/github-actions@v8.0'
with:
actions_subcommand: 'init'
tf_actions_working_dir: ./_example

- name: 'Terraform validate'
uses: 'clouddrove/github-actions@v7.0'
uses: 'clouddrove/github-actions@v8.0'
with:
actions_subcommand: 'validate'
tf_actions_working_dir: ./_example


pre-commit:
name: 'Pre-Commit'
needs:
- fmt
- validate

runs-on: ubuntu-latest
steps:
- name: 'Checkout'
Expand Down
21 changes: 0 additions & 21 deletions _example/.terraform.lock.hcl

This file was deleted.

2 changes: 1 addition & 1 deletion _test/vpcpeering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ func Test(t *testing.T) {
Tags := terraform.OutputMap(t, terraformOptions, "tags")

// Check that we get back the outputs that we expect
assert.Equal(t, "test-vpc-peering-clouddrove", Tags["Name"])
assert.Equal(t, "test-vpc-peering", Tags["Name"])
assert.Contains(t, Status, "pending-acceptance")
}

0 comments on commit 5c521c9

Please sign in to comment.