Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent f15ad13 commit 1d79229
Show file tree
Hide file tree
Showing 27 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ tab_width = 2
indent_style = tab

[COMMIT_EDITMSG]
max_line_length = 0
max_line_length = 0
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* @clouddrove/clouddrovians @clouddrove/approvers

.github/mergify.yml @clouddrove/admins
.github/CODEOWNERS @clouddrove/admins
.github/CODEOWNERS @clouddrove/admins
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

## references
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow).
* Use `closes #123`, if this PR closes a Jira issue `#123`
* Use `closes #123`, if this PR closes a Jira issue `#123`
2 changes: 1 addition & 1 deletion .github/config/.tflint.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ rule "aws_instance_previous_type" {

rule "terraform_required_providers" {
enabled = false
}
}
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# push:
# tags:
# - "*"

# jobs:
# create_changelog:
# runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tf-static-checks-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:
workflow_dispatch:
jobs:
tf-static-checks:
uses: clouddrove/test-tfsec/.github/workflows/tf-static-checks.yml@feature/tf-static-check
uses: clouddrove/test-tfsec/.github/workflows/tf-static-checks.yml@feature/tf-static-check
2 changes: 1 addition & 1 deletion .github/workflows/tf-static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
terraform_version: ${{ needs.versionExtract.outputs.maxVersion }}

- name: Check Terraform format changes
run: terraform fmt --recursive -check=true
run: terraform fmt --recursive -check=true
6 changes: 3 additions & 3 deletions .github/workflows/tflint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
tflint_version: v0.44.1
github_token: ${{ secrets.GITHUB }}

- uses: terraform-linters/tflint-load-config-action@v1
name: Setup TFLint
with:
Expand All @@ -42,10 +42,10 @@ jobs:

- name: Run TFLint
run: tflint --recursive --color --force -f compact

# - uses: terraform-linters/setup-tflint@v3
# - uses: terraform-linters/tflint-load-config-action@v1
# with:
# source-repo: clouddrove/test-tfsec/.github/config/.tflint.hcl@feature/tf-static-check
# source-path: .github/config/.tflint.hcl
# - run: tflint -f compact
# - run: tflint -f compact
2 changes: 1 addition & 1 deletion .github/workflows/tflint_call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
tf-lint:
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@feature/tf-static-check
secrets:
GITHUB: ${{ secrets.GITHUB }}
GITHUB: ${{ secrets.GITHUB }}
2 changes: 1 addition & 1 deletion .github/workflows/tfsec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
# tfsec_actions_working_dir: ./_example/
# tfsec_actions_comment: true
# tfsec_output_format: sarif
# continue-on-error: true
# continue-on-error: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ terraform.tfstate
*.tfstate
*.tfstate.backup
*.iml
*.terraform.lock.hcl
*.terraform.lock.hcl
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- id: check-yaml
- id: check-added-large-files
- id: check-added-large-files
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ Apache License
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export GENIE_PATH ?= $(shell 'pwd')/../../../genie
include $(GENIE_PATH)/Makefile
include $(GENIE_PATH)/Makefile
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Terraform AZURE SUBNET
</h1>

<p align="center" style="font-size: 1.2rem;">
<p align="center" style="font-size: 1.2rem;">
Terraform module to create subnet resource on AZURE.
</p>

Expand Down Expand Up @@ -41,7 +41,7 @@

## Prerequisites

This module has a few dependencies:
This module has a few dependencies:



Expand Down Expand Up @@ -191,7 +191,7 @@ Here is an example of how you can use this module in your inventory structure:



## Feedback
## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-azure-subnet/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).

If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-azure-subnet)!
Expand Down
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ usage: |-
}
]
}
```
```
2 changes: 1 addition & 1 deletion _example/complete/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ module "subnet_2" {
next_hop_type = "Internet"
}
]
}
}
2 changes: 1 addition & 1 deletion _example/complete/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ output "route_table_id" {
output "route_table_associated_subnets" {
description = "The collection of Subnets associated with this route table."
value = module.subnet.*.route_table_associated_subnets[0]
}
}
2 changes: 1 addition & 1 deletion _example/name-specific_subnet/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ module "name_specific_subnet" {
next_hop_type = "Internet"
}
]
}
}
1 change: 0 additions & 1 deletion _example/name-specific_subnet/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ output "route_table_associated_subnets" {
description = "The collection of Subnets associated with this route table."
value = module.name_specific_subnet.*.route_table_associated_subnets[0]
}

2 changes: 1 addition & 1 deletion _example/nat-gateway_subnet/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ module "subnet" {
next_hop_type = "Internet"
}
]
}
}
2 changes: 1 addition & 1 deletion _test/azure_subnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ func Test(t *testing.T) {
assert.Equal(t, "test-clouddrove-subnet", Tags["Name"])
assert.Contains(t, Id, "/subscriptions")
}
}
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ resource "azurerm_subnet_route_table_association" "main2" {
count = var.enable && var.enable_route_table && var.specific_name_subnet ? length(var.subnet_prefixes) : 0
subnet_id = element(azurerm_subnet.subnet2.*.id, count.index)
route_table_id = join("", azurerm_route_table.rt.*.id)
}
}
2 changes: 1 addition & 1 deletion output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ output "route_table_id" {
output "route_table_associated_subnets" {
description = "The collection of Subnets associated with this route table."
value = var.enable_route_table ? azurerm_route_table.rt.*.subnets[0] : null
}
}
2 changes: 1 addition & 1 deletion variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ variable "disable_bgp_route_propagation" {
type = bool
default = false
description = "Boolean flag which controls propagation of routes learned by BGP on that route table."
}
}
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ terraform {
version = ">=2.90.0"
}
}
}
}

0 comments on commit 1d79229

Please sign in to comment.