Skip to content

Commit

Permalink
Auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent de63618 commit 1289e62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

**Merged pull requests:**

- Bump github.com/Azure/terraform-module-test-helper from 0.15.0 to 0.26.0 in /test [\#150](https://github.com/Azure/terraform-azurerm-network-security-group/pull/150) ([lonegunmanb](https://github.com/lonegunmanb))
- Prepare for using oidc as authentication method [\#148](https://github.com/Azure/terraform-azurerm-network-security-group/pull/148) ([lonegunmanb](https://github.com/lonegunmanb))
- Bump github.com/Azure/terraform-module-test-helper from 0.13.0 to 0.15.0 in /test [\#123](https://github.com/Azure/terraform-azurerm-network-security-group/pull/123) ([dependabot[bot]](https://github.com/apps/dependabot))
- Add tracing tag toggle variables [\#109](https://github.com/Azure/terraform-azurerm-network-security-group/pull/109) ([lonegunmanb](https://github.com/lonegunmanb))
Expand Down
26 changes: 5 additions & 21 deletions examples/MySQL/variables.tf
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
variable "custom_rules" {
description = "Custom set of security rules using this format"
type = list(any)
default = []

# Example:
# custom_rules = [{
# name = "myssh"
# priority = "101"
# direction = "Inbound"
# access = "Allow"
# protocol = "tcp"
# source_port_range = "1234"
# destination_port_range = "22"
# description = "description-myssh"
#}]
description = "Custom set of security rules using this format"
}

variable "destination_address_prefix" {
type = list(any)
default = ["*"]

# Example: ["10.0.3.0/32","10.0.3.128/32"]
}

variable "location" {
Expand All @@ -34,26 +20,24 @@ variable "resource_group_name" {
}

variable "security_group_name" {
description = "Name of the network security group"
default = "nsg"
description = "Name of the network security group"
}

variable "source_address_prefix" {
type = list(any)
default = ["*"]

# Example: ["10.0.3.0/24"]
}

variable "tags" {
description = "The tags to associate with your network security group."
type = map(string)
default = {}
description = "The tags to associate with your network security group."
}

variable "use_for_each" {
description = "Choose wheter to use 'for_each' as iteration technic to generate the rules, defaults to false so we will use 'count' for compatibilty with previous module versions, but prefered method is 'for_each'"
type = bool
default = false
description = "Choose wheter to use 'for_each' as iteration technic to generate the rules, defaults to false so we will use 'count' for compatibilty with previous module versions, but prefered method is 'for_each'"
nullable = false
}
}
4 changes: 3 additions & 1 deletion test/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/Azure/terraform-azurerm-network-security-group

go 1.19
go 1.22.0

toolchain go1.22.5

require (
github.com/Azure/terraform-module-test-helper v0.26.0
Expand Down

0 comments on commit 1289e62

Please sign in to comment.