Skip to content

Commit

Permalink
feat: Internal modules reference upgraded to v4.0.0 (#44)
Browse files Browse the repository at this point in the history
pre-commit fixs
  • Loading branch information
diegolagospagopa authored Jan 19, 2023
1 parent b76dd88 commit bb9ebd2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cdn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Storage account

| Name | Source | Version |
|------|--------|---------|
| <a name="module_cdn_storage_account"></a> [cdn\_storage\_account](#module\_cdn\_storage\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v3.15.0 |
| <a name="module_cdn_storage_account"></a> [cdn\_storage\_account](#module\_cdn\_storage\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v4.0.0 |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion cdn/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**/
module "cdn_storage_account" {

source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v3.15.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v4.0.0"

name = replace("${var.prefix}-${var.name}-sa", "-", "")

Expand Down
6 changes: 3 additions & 3 deletions function_app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ See [Generic resorce migration](../docs/MIGRATION_GUIDE_GENERIC_RESOURCES.md)

| Name | Source | Version |
|------|--------|---------|
| <a name="module_storage_account"></a> [storage\_account](#module\_storage\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v3.15.0 |
| <a name="module_storage_account_durable_function"></a> [storage\_account\_durable\_function](#module\_storage\_account\_durable\_function) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v3.15.0 |
| <a name="module_storage_account_durable_function_management_policy"></a> [storage\_account\_durable\_function\_management\_policy](#module\_storage\_account\_durable\_function\_management\_policy) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_management_policy | v3.15.0 |
| <a name="module_storage_account"></a> [storage\_account](#module\_storage\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v4.0.0 |
| <a name="module_storage_account_durable_function"></a> [storage\_account\_durable\_function](#module\_storage\_account\_durable\_function) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v4.0.0 |
| <a name="module_storage_account_durable_function_management_policy"></a> [storage\_account\_durable\_function\_management\_policy](#module\_storage\_account\_durable\_function\_management\_policy) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_management_policy | v4.0.0 |

## Resources

Expand Down
6 changes: 3 additions & 3 deletions function_app/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#tfsec:ignore:azure-storage-default-action-deny
module "storage_account" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v3.15.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v4.0.0"

name = coalesce(var.storage_account_name, format("%sst", replace(var.name, "-", "")))
account_kind = var.storage_account_info.account_kind
Expand All @@ -18,7 +18,7 @@ module "storage_account" {
module "storage_account_durable_function" {
count = var.internal_storage.enable ? 1 : 0

source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v3.15.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v4.0.0"

name = coalesce(var.storage_account_durable_name, format("%ssdt", replace(var.name, "-", "")))
account_kind = var.storage_account_info.account_kind
Expand Down Expand Up @@ -60,7 +60,7 @@ resource "azurerm_storage_container" "internal_container" {

module "storage_account_durable_function_management_policy" {
count = length(local.internal_containers) == 0 ? 0 : 1
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_management_policy?ref=v3.15.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_management_policy?ref=v4.0.0"

storage_account_id = module.storage_account_durable_function[0].id

Expand Down

0 comments on commit bb9ebd2

Please sign in to comment.