This commit is contained in:
github-actions[bot] 2023-05-09 01:43:06 +00:00
Родитель a3c62a1969
Коммит 18c7562fd5
39 изменённых файлов: 615 добавлений и 12 удалений

Просмотреть файл

@ -4,6 +4,7 @@
**Merged pull requests:**
- Add tracing tag toggle variables [\#109](https://github.com/Azure/terraform-azurerm-network-security-group/pull/109) ([lonegunmanb](https://github.com/lonegunmanb))
- support space inside source\_port\_range [\#108](https://github.com/Azure/terraform-azurerm-network-security-group/pull/108) ([lonegunmanb](https://github.com/lonegunmanb))
- Bump github.com/Azure/terraform-module-test-helper from 0.12.0 to 0.13.0 in /test [\#105](https://github.com/Azure/terraform-azurerm-network-security-group/pull/105) ([dependabot[bot]](https://github.com/apps/dependabot))
- Bump github.com/Azure/terraform-module-test-helper from 0.10.0 to 0.12.0 in /test [\#103](https://github.com/Azure/terraform-azurerm-network-security-group/pull/103) ([dependabot[bot]](https://github.com/apps/dependabot))

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:56 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:59 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:52 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:54 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:50 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:51 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:54 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:56 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:47 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:48 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:48 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:49 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:45 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:45 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:43 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:44 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:41 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:40 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:39 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:35 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:38 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:41 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:35 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:30 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:33 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:28 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:32 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:26 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:29 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:25 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:27 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:23 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:25 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:21 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:23 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 07:21 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:21 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:32 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:19 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:31 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:17 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:29 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:15 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:28 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:13 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:25 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:12 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:24 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:10 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:22 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:08 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:20 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:06 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:18 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:04 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:15 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 10:02 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:14 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:57 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:09 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:59 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:11 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:55 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:07 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:53 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:05 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:52 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:04 UTC
Success: true

Просмотреть файл

@ -1,3 +1,20 @@
## 08 May 23 09:51 UTC
Success: true
### Versions
Terraform v1.4.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v3.55.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
### Error
---
## 06 May 23 08:01 UTC
Success: true

Просмотреть файл

@ -6,7 +6,14 @@ resource "azurerm_network_security_group" "nsg" {
location = var.location != "" ? var.location : data.azurerm_resource_group.nsg.location
name = var.security_group_name
resource_group_name = data.azurerm_resource_group.nsg.name
tags = var.tags
tags = merge(var.tags, (/*<box>*/ (var.tracing_tags_enabled ? { for k, v in /*</box>*/ {
avm_git_commit = "fd9037e4f7a3784083665fdb6c781afd2c3f5744"
avm_git_file = "main.tf"
avm_git_last_modified_at = "2023-01-20 10:47:52"
avm_git_org = "Azure"
avm_git_repo = "terraform-azurerm-network-security-group"
avm_yor_trace = "8157f32c-322a-4950-951c-1a639c92e8ac"
} /*<box>*/ : replace(k, "avm_", var.tracing_tags_prefix) => v } : {}) /*</box>*/))
}
#############################

Просмотреть файл

@ -187,25 +187,25 @@ variable "tags" {
description = "The tags to associate with your network security group."
}
variable "use_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
}
# tflint-ignore: terraform_unused_declarations
variable "tracing_tags_enabled" {
type = bool
description = "Whether enable tracing tags that generated by BridgeCrew Yor."
default = false
description = "Whether enable tracing tags that generated by BridgeCrew Yor."
nullable = false
}
# tflint-ignore: terraform_unused_declarations
variable "tracing_tags_prefix" {
type = string
description = "Default prefix for generated tracing tags"
default = "avm_"
description = "Default prefix for generated tracing tags"
nullable = false
}
}
variable "use_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
}