-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't pass variables to the modules that don't declare them (#40)
Don't pass variable to a module if it doesn't require it
- Loading branch information
1 parent
94386df
commit be238b2
Showing
4 changed files
with
61 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
|
||
terraform: | ||
path: ../mock-terraform/success | ||
|
||
modules: | ||
|
||
- name: foo | ||
path: . | ||
remote: | ||
backend: local | ||
backend_config: | ||
key: "/tmp/terraform-test/foo.tfstate" | ||
|
||
- name: bar | ||
path: . | ||
remote: | ||
backend: local | ||
backend_config: | ||
key: "/tmp/terraform-test/bar.tfstate" | ||
variables: | ||
- name: region |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters