-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Install `az` CLI on bootstrap Signed-off-by: Roman Schwarz <[email protected]> * Add missing submodules directory Signed-off-by: Roman Schwarz <[email protected]> * Update terraform-docs configuration file Signed-off-by: Roman Schwarz <[email protected]> * Add and update TFLint configuration files Signed-off-by: Roman Schwarz <[email protected]> * Fix TFLint notices Signed-off-by: Roman Schwarz <[email protected]> --------- Signed-off-by: Roman Schwarz <[email protected]>
- Loading branch information
Showing
9 changed files
with
101 additions
and
6 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
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,27 @@ | ||
tflint { | ||
required_version = "~> 0.50" | ||
} | ||
|
||
plugin "terraform" { | ||
enabled = true | ||
|
||
source = "github.com/terraform-linters/tflint-ruleset-terraform" | ||
version = "0.9.1" | ||
|
||
preset = "all" | ||
} | ||
|
||
plugin "azurerm" { | ||
enabled = true | ||
|
||
source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
version = "0.27.0" | ||
} | ||
|
||
rule "terraform_unused_required_providers" { | ||
enabled = false | ||
} | ||
|
||
rule "terraform_standard_module_structure" { | ||
enabled = false | ||
} |
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,18 @@ | ||
# Sub-modules | ||
|
||
Create directories for each sub-module as needed. The `README.md` files for each sub-module will be automatically generated using [terraform-docs](https://terraform-docs.io/user-guide/configuration/recursive/), just like the `README.md` of the primary module. Documentation generation requires a usage example in `./<module>/examples/usage/`, with a `main.tf` file defining the example and a `main.md` file briefly describing it. | ||
|
||
Thus, the minimal file structure of a module is: | ||
|
||
```tree | ||
. | ||
├── README.md | ||
├── examples | ||
│ └── usage | ||
│ ├── main.md | ||
│ └── main.tf | ||
├── inputs.tf | ||
├── main.tf | ||
├── outputs.tf | ||
└── terraform.tf | ||
``` |
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