File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - id : check-yaml
77 - id : end-of-file-fixer
88 - id : trailing-whitespace
9+ - id : detect-private-key
910 - repo : https://github.com/gitleaks/gitleaks
1011 rev : v8.30.0
1112 hooks :
@@ -14,10 +15,11 @@ repos:
1415 rev : v1.99.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
1516 hooks :
1617 - id : terraform_validate
18+ args :
19+ - --hook-config=--tf-path=tofu
1720 - id : terraform_fmt
21+ - id : terraform_tflint
1822 args :
23+ - --hook-config=--tf-path=tofu
1924 - --args=-no-color
2025 - --args=-diff
21- - id : terraform_docs
22- args :
23- - --args=--output-mode=replace
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ plugin "azurerm" {
1515 source = " github.com/terraform-linters/tflint-ruleset-azurerm"
1616}
1717
18- # FIXME: USE rules to overide the warnings
18+ # FIXME: USE rules to override the warnings
1919# Overriding the terraform_required_version
2020rule "terraform_required_version" {
2121 enabled = false
Original file line number Diff line number Diff line change 11[tools ]
22terragrunt = " 0.99.4"
3+ opentofu = " 1.11.5"
Original file line number Diff line number Diff line change 1+ # Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa
2+ terraform {
3+ required_version = " >= 1.6.0"
4+
5+ required_providers {
6+ azurerm = {
7+ source = " hashicorp/azurerm"
8+ version = " ~> 4.58.0"
9+ }
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ # Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa
2+ terraform {
3+ required_version = " >= 1.6.0"
4+
5+ required_providers {
6+ azurerm = {
7+ source = " hashicorp/azurerm"
8+ version = " ~> 4.58.0"
9+ }
10+ }
11+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,3 @@ terraform {
99 }
1010 }
1111}
12-
13- provider "azurerm" {
14- features {}
15- }
Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ terraform {
2828 }
2929 }
3030}
31-
32- provider "azurerm" {
33- features {}
34- }
3531EOF
3632}
3733
@@ -41,3 +37,15 @@ generate "providers" {
4137 if_exists = " overwrite_terragrunt"
4238 contents = local. azure_provider_config
4339}
40+
41+ generate "provider-az-network" {
42+ path = " modules/az_network/providers.tf"
43+ if_exists = " overwrite_terragrunt"
44+ contents = local. azure_provider_config
45+ }
46+
47+ generate "provider-az-virtual-machine" {
48+ path = " modules/az_virtual_machine/providers.tf"
49+ if_exists = " overwrite_terragrunt"
50+ contents = local. azure_provider_config
51+ }
You can’t perform that action at this time.
0 commit comments