Skip to content

Commit

Permalink
fix: Upgrade to azurerm 3.71.0 (circular dependency modules) (#157)
Browse files Browse the repository at this point in the history
Co-authored-by: pasqualedevita <>
  • Loading branch information
pasqualedevita authored Sep 7, 2023
1 parent a000757 commit 164f78b
Show file tree
Hide file tree
Showing 49 changed files with 9 additions and 290 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ repos:
hooks:
- id: terraform_fmt
- id: terraform_docs
args:
- --args=--hide providers
- id: terraform_tfsec
- id: terraform_validate
exclude: |
Expand Down
6 changes: 0 additions & 6 deletions api_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ resource "azurerm_private_dns_a_record" "api_internal" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions api_management_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ module "apim_devopslab_webapp_python_alpha_api_v1" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions api_management_product/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ module "apim_product_devopslab" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions app_gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,6 @@ module "appgateway_snet" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions app_service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ Of course, the values listed above may change in the future, so please check whi
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.39.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions app_service_slot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ Of course, the values listed above may change in the future, so please check whi
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.39.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions application_insights_web_test_preview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ module "web_test_availability_alert_rules_for_api" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
7 changes: 0 additions & 7 deletions azure_devops_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ module "module "azdoa_vmss_li" {" {
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | <= 3.2.1 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.4 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions azure_devops_agent_custom_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ module "azdoa_custom_image" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | <= 3.2.1 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.1 |

## Modules

No modules.
Expand Down
9 changes: 1 addition & 8 deletions cdn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,11 @@ Storage account
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | <= 3.2.1 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.64.0 |
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.1 |

## Modules

| 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 | v6.20.1 |
| <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 | v7.4.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=v6.20.1"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v7.4.0"

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

Expand Down
6 changes: 0 additions & 6 deletions cert_mounter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ module "cert_mounter" {
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | >= 2.5.1, <= 2.7.1 |
| <a name="requirement_null"></a> [null](#requirement\_null) | <= 3.2.1 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.7.1 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions container_app_environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ This resource allow the creation of a Container app environment
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions container_registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ module "container_registry_public" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions cosmosdb_account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ module "cosmos_core" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions cosmosdb_mongodb_collection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ module "mongdb_collection_name" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions cosmosdb_sql_container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ module "core_cosmosdb_containers" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions cosmosdb_sql_database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ module "core_cosmos_db" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions data_factory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
7 changes: 0 additions & 7 deletions dns_forwarder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ module "dns_forwarder" {
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |
| <a name="requirement_local"></a> [local](#requirement\_local) | <= 2.3.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |
| <a name="provider_local"></a> [local](#provider\_local) | 2.3.0 |

## Modules

No modules.
Expand Down
8 changes: 0 additions & 8 deletions elastic_stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ TODO
| <a name="requirement_kubectl"></a> [kubectl](#requirement\_kubectl) | 1.14.0 |
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | <= 2.17.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_kubectl"></a> [kubectl](#provider\_kubectl) | 1.14.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.17.0 |
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.1 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions eventhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ module "event_hub" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
10 changes: 2 additions & 8 deletions function_app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,18 +213,12 @@ See [Generic resource migration](../.docs/MIGRATION_GUIDE_GENERIC_RESOURCES.md)
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.64.0 |

## Modules

| 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 | v6.20.1 |
| <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 | v6.20.1 |
| <a name="module_storage_account"></a> [storage\_account](#module\_storage\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account | v7.4.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 | v7.4.0 |

## Resources

Expand Down
4 changes: 2 additions & 2 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=v6.20.1"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v7.4.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=v6.20.1"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//storage_account?ref=v7.4.0"

name = coalesce(var.storage_account_durable_name, format("%ssdt", replace(var.name, "-", "")))
account_kind = var.storage_account_info.account_kind
Expand Down
6 changes: 0 additions & 6 deletions grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ module "grafana_managed" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
7 changes: 0 additions & 7 deletions grafana_dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ example:
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |
| <a name="requirement_grafana"></a> [grafana](#requirement\_grafana) | <= 2.3.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |
| <a name="provider_grafana.cloud"></a> [grafana.cloud](#provider\_grafana.cloud) | 2.3.0 |

## Modules

No modules.
Expand Down
7 changes: 0 additions & 7 deletions jwt_keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ Nothing to change
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | <= 4.0.4 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.4 |

## Modules

No modules.
Expand Down
6 changes: 0 additions & 6 deletions key_vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ module "key_vault_domain" {
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.71.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.71.0 |

## Modules

No modules.
Expand Down
Loading

0 comments on commit 164f78b

Please sign in to comment.