Skip to content

Commit 2e692a1

Browse files
Merge pull request #11 from Insight-NA/feature/constrain-azurerm-v3
Feature/constrain azurerm v3
2 parents ee53efd + 7e8edd1 commit 2e692a1

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,14 @@ module "azure_storage_account_standard_storagev2" {
471471
| Name | Version |
472472
|------|---------|
473473
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~>1.3 |
474-
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | ~>3.95 |
475-
| <a name="requirement_random"></a> [random](#requirement\_random) | >=3.6.0 |
474+
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | =3.116.0 |
475+
| <a name="requirement_random"></a> [random](#requirement\_random) | >=3.6.0, < 4.0.0 |
476476

477477
## Providers
478478

479479
| Name | Version |
480480
|------|---------|
481-
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | ~>3.95 |
481+
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | =3.116.0 |
482482

483483
## Modules
484484

@@ -531,8 +531,8 @@ No modules.
531531
| <a name="input_default_to_oauth_authentication"></a> [default\_to\_oauth\_authentication](#input\_default\_to\_oauth\_authentication) | (Optional) Default to Azure Active Directory authorization in the Azure portal when accessing the Storage Account. The default value is `false` | `bool` | `false` | no |
532532
| <a name="input_dns_zone_ids"></a> [dns\_zone\_ids](#input\_dns\_zone\_ids) | A Map of DNS zone ids from the private DNS zones module, dns\_zone name is the key | <pre>map(object({<br> name = string<br> id = string<br> }))</pre> | `{}` | no |
533533
| <a name="input_edge_zone"></a> [edge\_zone](#input\_edge\_zone) | (Optional) Specifies the Edge Zone within the Azure Region where this Storage Account should exist. Changing this forces a new Storage Account to be created. | `string` | `null` | no |
534-
| <a name="input_enable_https_traffic_only"></a> [enable\_https\_traffic\_only](#input\_enable\_https\_traffic\_only) | (Optional) Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to true. | `bool` | `true` | no |
535534
| <a name="input_enable_private_networking"></a> [enable\_private\_networking](#input\_enable\_private\_networking) | Declare whether Private Networking should be leveraged (VNet integration and Private Endpoints). | `bool` | `false` | no |
535+
| <a name="input_enable_https_traffic_only"></a> [https\_traffic\_only\_enabled](#input\_https\_traffic\_only\_enabled) | (Optional) Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to true. | `bool` | `true` | no |
536536
| <a name="input_identity"></a> [identity](#input\_identity) | - `identity_ids` - (Optional) Specifies a list of User Assigned Managed Identity IDs to be assigned to this Storage Account.<br>- `type` - (Required) Specifies the type of Managed Service Identity that should be configured on this Storage Account. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). | <pre>object({<br> identity_ids = optional(map(string))<br> type = string<br> })</pre> | `null` | no |
537537
| <a name="input_immutability_policy"></a> [immutability\_policy](#input\_immutability\_policy) | - `allow_protected_append_writes` - (Required) When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.<br>- `period_since_creation_in_days` - (Required) The immutability period for the blobs in the container since the policy creation, in days.<br>- `state` - (Required) Defines the mode of the policy. `Disabled` state disables the policy, `Unlocked` state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, `Locked` state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. | <pre>object({<br> allow_protected_append_writes = bool<br> period_since_creation_in_days = number<br> state = string<br> })</pre> | `null` | no |
538538
| <a name="input_infrastructure_encryption_enabled"></a> [infrastructure\_encryption\_enabled](#input\_infrastructure\_encryption\_enabled) | (Optional) Is infrastructure encryption enabled? Changing this forces a new resource to be created. Defaults to false. | `bool` | `false` | no |

examples/storage-account-premium-blockblob/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-premium-fileshare/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-standard-blob/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-standard-queue/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-standard-storagev2/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module "azure_storage_account_standard_storagev2" {
3333
default_action = "Deny"
3434
# This could be a specific ip address for individual users, e.g., 20.94.5.238
3535
# or an ip range for a group of users (VPN), e.g., 20.128.0.0/16
36-
ip_rules = ["20.94.5.238"]
36+
ip_rules = ["20.94.5.128"]
3737
virtual_network_subnet_ids = [data.azurerm_subnet.default.id]
3838
}
3939

examples/storage-account-standard-storagev2/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-standard-table/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

examples/storage-account-with-network-rule/providers.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "registry.terraform.io/hashicorp/azurerm"
6-
version = "~>3.95"
6+
version = "=3.116.0"
77
}
88
random = {
99
source = "hashicorp/random"
10-
version = ">=3.6.0"
10+
version = ">=3.6.0, < 4.0.0"
1111
}
1212
}
1313

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ resource "azurerm_storage_account" "this" {
1818
cross_tenant_replication_enabled = var.cross_tenant_replication_enabled
1919
default_to_oauth_authentication = var.default_to_oauth_authentication
2020
edge_zone = var.edge_zone
21-
enable_https_traffic_only = var.enable_https_traffic_only
21+
https_traffic_only_enabled = var.enable_https_traffic_only
2222
infrastructure_encryption_enabled = var.infrastructure_encryption_enabled
2323
is_hns_enabled = var.is_hns_enabled
2424
large_file_share_enabled = var.large_file_share_enabled

0 commit comments

Comments
 (0)