generated from getindata/terraform-module-template
-
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.
feat: Align module with Snowflake provider changes (#34)
* ci: update pre-commit components * feat: Align module with Snowflake provider changes Due to breaking changes in Snowflake provider and additional code optimizations, **breaking changes** were introduced in this module. List of code and variable (API) changes: - Switched to `snowflake_database_role` module to leverage new `database_roles` mechanism - `default_roles` and `custom_roles` are now combined and controlled by single logic in snowflake_database_role module - snowflake_database resource was updated to use newly introduced changes in Snowflake provider - snowflake_schema resource was updated to use newly introduced changes in Snowflake provider - variable `add_grants_to_existing_objects` was removed as it is no longer needed - minimum Snowflake provider version is `0.90.0` For more information, refer to [variables.tf](variables.tf), list of inputs below and Snowflake provider documentation When upgrading from `v1.x`, expect most of the resources to be recreated - if recreation is impossible, then it is possible to import some existing resources. * add new variables into outputs * style: docs formatting * chore: remove version prefix * use provider default values for optional variables * chore: remove not needed tflint tf plugin config terraform plugin is already available in tflint * split default and custom roles to avoid deepmerge issues * docs: update examples * use provider default values for optional variables * chore: align variables between deps modules * chore: align locals * chore: align to schema and stage vars * docs: align examples * chore: more readable output * feat: database ownership configuration * chore: rename database ownership variables * docs: align example variables
- Loading branch information
Showing
18 changed files
with
626 additions
and
311 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 |
---|---|---|
|
@@ -6,6 +6,10 @@ sections: | |
hide: [] | ||
show: [all] | ||
|
||
recursive: | ||
enabled: true | ||
path: examples | ||
|
||
content: |- | ||
{{ .Header }} | ||
|
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 |
---|---|---|
@@ -1,16 +1,3 @@ | ||
config { | ||
ignore_module = { | ||
"Invicton-Labs/deepmerge/null" = true | ||
} | ||
} | ||
|
||
plugin "terraform" { | ||
enabled = true | ||
version = "0.5.0" | ||
source = "github.com/terraform-linters/tflint-ruleset-terraform" | ||
preset = "all" | ||
} | ||
|
||
rule "terraform_standard_module_structure" { | ||
enabled = false # Fails on context.tf | ||
enabled = false # Fails on context.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
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
Oops, something went wrong.