Skip to content

Commit ee9404b

Browse files
committed
Allow AWS provider v4, add rspec-terraform, add unit tests, add rubocop.
1 parent 1ed3baf commit ee9404b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3912
-3281
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ jobs:
8585
steps:
8686
- checkout
8787
- configure_tools
88-
- run: ./scripts/ci/steps/test.sh
88+
- run:
89+
no_output_timeout: 30m
90+
command: ./scripts/ci/steps/test.sh
91+
- store_artifacts:
92+
path: build/logs
8993
- notify
9094

9195
prerelease:

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
PROJECT_DIR="$(pwd)"
44

5-
PATH_add ${PROJECT_DIR}
6-
PATH_add ${PROJECT_DIR}/vendor/terraform/bin
5+
PATH_add "${PROJECT_DIR}"
6+
PATH_add "${PROJECT_DIR}"/vendor/terraform/bin

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
vendor/
1313
build/
1414
dist/
15+
.bundle
1516
.rakeTasks
1617

1718
# OS
@@ -27,6 +28,8 @@ run/logs/
2728
.rspec_status
2829

2930
# Terraform
31+
state/
3032
.terraform
33+
*.tfplan
3134
*.tfstate
3235
*.tfstate.backup

.rubocop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Layout/LineLength:
99
Max: 80
1010

1111
Metrics/BlockLength:
12-
IgnoredMethods:
12+
AllowedMethods:
1313
- describe
1414
- context
1515
- shared_examples
@@ -26,6 +26,9 @@ RSpec/ExampleLength:
2626
RSpec/DescribeClass:
2727
Enabled: false
2828

29+
RSpec/InstanceVariable:
30+
Enabled: false
31+
2932
RSpec/BeforeAfterAll:
3033
Enabled: false
3134

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ gem 'rake_gpg'
1414
gem 'rake_ssh'
1515
gem 'rake_terraform'
1616
gem 'rspec'
17+
gem 'rspec-terraform'
1718
gem 'rubocop'
1819
gem 'rubocop-rake'
1920
gem 'rubocop-rspec'

0 commit comments

Comments
 (0)