From 4d677cf26bd0365cece54d855d7d99628dba4cb1 Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Tue, 23 May 2023 16:56:56 +0100 Subject: [PATCH] Updated Key Vault module to 0.1.3 - Sets an expiry date for Key vault secrets inline with Azure Security Posture recommendation --- terraform/.terraform.lock.hcl | 84 +++++++++++++-------------- terraform/README.md | 2 +- terraform/key-vault-tfvars-secrets.tf | 2 +- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl index 56cd1c731..04c75e4db 100644 --- a/terraform/.terraform.lock.hcl +++ b/terraform/.terraform.lock.hcl @@ -2,61 +2,61 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/azure/azapi" { - version = "1.5.0" + version = "1.6.0" constraints = ">= 1.1.0, >= 1.5.0" hashes = [ - "h1:1eTNWBhU2djAfhNGMfuwinXzFHCwas5BVs8bfSi6nmw=", - "zh:14109c169973e1b0d526131ca047e25f62700a44ecce4303aacb15793764be3e", - "zh:19417f2bbbadd0a079d51646a929d43ae7a0293f0fc13c3fa369d32780c1c846", - "zh:3254370d3304227ea0ec1352d98aa4a4a59e6a76ddede26454bdb55048101ec3", - "zh:34d9a96e6401f4fc087100b9c63aa47c77904a45478155671787854db13872c1", - "zh:62f615527a6bda5b9808baf75edf80648b106ba449418665ea4841ded978aee7", - "zh:6d3fc50788e74fba509586d99c4b80a1ef96345f21a0033746dfbf69dc6c2c1d", - "zh:7858f0e8b63590c34defd0ef7e844beaed942f8e2ae6df5a591d031d1db077a4", - "zh:80563967234c853f18cffffa821df7a5dd43c0a72c02e499111dcda0064223d7", - "zh:ae691de55bd1fd18820a5bf1b6bf8204711e8ddd01adde70a2db4e585523fb42", - "zh:b5700bab09282c0c05d76ca7910d43158e065d854e0780348fa8a5de06fba44f", - "zh:c378578d65b4a51e2aa57122c8149e136bad72e5c8de516d269e6259051f9428", - "zh:c5093f71eb18e84f93947d24c369e67a7dc4fa02950b9ae6b09cb71bc62a8b40", + "h1:iHdaUbToZyENLkgeCqdQXFAcL7PQ3249gF2SlcNVbLM=", + "zh:0784acbac6d911f31176713bcfb5e3a4a8085cff8f55283a37b0d8e784b2ea79", + "zh:3ff0ddb2b0dfff4037eb8da856b0ba7bfb1328004bee638028c17ef28326bfdc", + "zh:5de832e66c2582063c5d29c2c4916deddbcbf7f7c277b60d30e3292f487f7064", + "zh:61f7b11d51508cb3c988cc2d846b8edb88f5461b5a6ff3a6539c6131999c4bf8", + "zh:7c267b474d26dd0f6e1b9674250cc3c66b7e5a31d26cd4f2138154260712d000", + "zh:830aef5fb62085652a151d8a593b6d60ce7e87f2526661840ecd147a5ca13e23", + "zh:885236c0921e6ee20e5c3aa2a82e90fef74873f094a9c27c3ddc688ec5a83e94", + "zh:93feb60ab4781a01a54ef6983781ae76e60908ffeb1037f2702146542b235ddc", + "zh:966cbb563b7aa8180d6f0ac029eb6cc6a4261a6e4dc7d7662f270d99066abcec", + "zh:a1974c3ee0fb9d6b6318985460c21c7bd439eff157f318b74570f725f0a537b1", + "zh:d2a3284c4546804b84913237dbdb31966be733eb5199699df5af25b69e11e012", + "zh:f83a023655e4385a6e4733c724c17eb262fcc06ad2a198ccb879c92ca50dcb2e", ] } provider "registry.terraform.io/hashicorp/azuread" { - version = "2.37.1" - constraints = ">= 2.3.6" + version = "2.39.0" + constraints = ">= 2.37.1" hashes = [ - "h1:HWiWKokv3TbuhNcH77+hv1EaKUbX54xkj7KVSZGSiu4=", - "zh:13526e11f6466883aecf2e79874c9c7c8d29f9948b201d9a9573bf7e188d1b4e", + "h1:NYLEOvPvgZZb0QJOzvqUdfCgwKY6CHIReqGA0hBkYSs=", + "zh:11d03e0bdcb372dcbebbfac53b71526ca3a2e4d280103a43f4294be66f264b96", "zh:1c3e89cf19118fc07d7b04257251fc9897e722c16e0a0df7b07fcd261f8c12e7", - "zh:327d9d9e84a9b8a0902a8083c97f5aa08dccf2c39c3f24869ab456eedce7e6af", - "zh:44d53a5697efbf756afff9e6c2c771d1cf5aca5e1e49f0ae3a1aaaeb79208996", - "zh:7cdcb7294c2b8be168198762d658b8dde6ce43030bb736d223eb48e143e82055", - "zh:9d9c799ffaee052a49569f93b4540f2f84ebc3cab29a9fa87a3505d3c07dee7f", - "zh:abe48e50a8d0565a525ac5e963a15fae7a6bc5b1ef1e399dbb458e3b95bd1024", - "zh:c57b7e1329bc4ee1de62f117253b9848ee41b037d655e5225d329ce6fa6233d3", - "zh:d253bd91bd4915fab0e42334942d4ef40b59dfd22b68e72b9c81984d913a44ad", - "zh:dbdc689842722c545ea36b5070a4d3be1f7d164ed15ef28960b9a81400e644c6", - "zh:f4d8d620db78c95023db3dce08fc2432dce21217e5e463a7e1c9e5e362c75f0e", - "zh:f8a4cd3e03d45a89894942e30324ab3197ff881dce2da1a1948dc29321245bb8", + "zh:1e1e40cb7b3028fec4a1527c9f74b29f80bca5f365a1c8bc2eb4374d48f7efcd", + "zh:1e2418804ca6af82d1b222c2177579bceba869f75c2411316774f0f937aca39a", + "zh:273f67427b5fdb23e074ebc017422995e184b58fb36e441ea5a059e6846461f5", + "zh:27f4b16e829608a675f056dea93997662eeebe5297dce1d19add8dc8b0842596", + "zh:40c2b2797c993e4b003d1ad2aa0105040401ca48d85a8cda6e885fed30de1cb7", + "zh:6f069afbc76c577447721bca164bb98ebb83de35650b09ccee38040d80493ca4", + "zh:9ac84becff0e48062f26e9b35cb91f706341f587c0cf2ab2c2971cc14f51f8dd", + "zh:a54119d7a4838f5aa282aa0b2d7c8db8c9defaf876142b8f40b337930b507457", + "zh:aa2ce28f3555f3e1fb183d12a03cdc9d64940f017ab6dd67cb414ade02df6c56", + "zh:befac5781b062e79be6e1a6407892f7e5368baf3f32e3bc6cf6c74a73f43f09d", ] } provider "registry.terraform.io/hashicorp/azurerm" { - version = "3.52.0" - constraints = ">= 3.41.0, >= 3.47.0, >= 3.52.0" + version = "3.57.0" + constraints = ">= 3.47.0, >= 3.52.0" hashes = [ - "h1:QxRCdY5GISBDd1Ijk6AQ75erPiKDuGa+7pdWCZiEJko=", - "zh:0c3029da7454f2fe7058939d95c458d9930842f06430cfcd0713713f3d788216", - "zh:826584f11eaaec7f179e85d9cc4833ec7a1d854ed4883c94317427ddfa7ffd11", - "zh:8fff204176ee1b08d168848d4bd7a051d7fd189688ca8b5f26eb31855ea060a6", - "zh:a170ebe199b93ea1f20357d848dfd0f5e50538236f09939d1a11a61dfbfded0f", - "zh:acea54d715186101f8a7725997578b231e4db50eea0fb9f9868ecd867008e6e6", - "zh:ae0f6a61677282a2f605ca9d0a74a08ae78ae2efeb372a33b9d4c7210fbbfd2c", - "zh:c2c2329f3864e10ee15993c1a48e79bf72d570bb6d08003038a37b73e551dbf9", - "zh:c7a4a117628ff0ad24e9c73f1087e9a02b8eca633b0913ee1687b0b4b5c7f377", - "zh:e1a290e708e7dbbde8747a98680f7a1aace97694a243ba7a11cc5c77e982e9cc", - "zh:e82aa1c5e8ead3087968d7f44b6f644ef3092a0d243b4b575ff8847616e290b3", - "zh:f4d57d3c5f3c7fe064b88151036037b7852be6bcfa661e3f4fe0fda2871006d9", + "h1:xhkhU1ansLbqu8q9jGKnwFEPgw3aYvsmdMkJEH6faaE=", + "zh:028202b0ae01f1262dac076b383cb68b5dd624977669b6db833418c215eb8401", + "zh:26fcf9e9b73cb3bbf87a048361a89050d2e52bdc91190a305e624a62be26a3f4", + "zh:2f381103953e4513068eee62089a0ec8c60a18ecef2235138b6c29a45920d6a2", + "zh:376f016f4b449b2cf38f75e27e7a9157fdcfc925f28198124a30e316abb54f3d", + "zh:7d491bab94d5aba91cd9c307dbd4b655dcdc0a6212541e7800b9a902be98befe", + "zh:85fa7d8339efd15494f947cda02e9ed127eafa32652e568f54261b2e97d2b3ee", + "zh:950e079e55a7e321adbd2f6a0639a4b3b0fac47d2e4bb3a12791e0817b694238", + "zh:975260e09379c5c97cad3171327db2f0b4914909861d4c24ab784b0ecd79c54a", + "zh:a26bb67ab2d2f20e5fee4d41110584af17357f4b4266d80f9debfad61fa0a4fd", + "zh:da0e5d1ec301c69b6fae684e55059fc5e1b91699ed3696229f599d558401556b", + "zh:ea11e62ce53caec240cb3a1da25d248805387fa246314001ed3e07e9105f6e12", "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", ] } diff --git a/terraform/README.md b/terraform/README.md index acbfa61ca..b85e3751a 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -137,7 +137,7 @@ No providers. | Name | Source | Version | |------|--------|---------| | [azure\_container\_apps\_hosting](#module\_azure\_container\_apps\_hosting) | github.com/DFE-Digital/terraform-azurerm-container-apps-hosting | v0.17.1 | -| [azurerm\_key\_vault](#module\_azurerm\_key\_vault) | github.com/DFE-Digital/terraform-azurerm-key-vault-tfvars | v0.1.2 | +| [azurerm\_key\_vault](#module\_azurerm\_key\_vault) | github.com/DFE-Digital/terraform-azurerm-key-vault-tfvars | v0.1.3 | ## Resources diff --git a/terraform/key-vault-tfvars-secrets.tf b/terraform/key-vault-tfvars-secrets.tf index a4e2a798c..918e9b395 100644 --- a/terraform/key-vault-tfvars-secrets.tf +++ b/terraform/key-vault-tfvars-secrets.tf @@ -1,5 +1,5 @@ module "azurerm_key_vault" { - source = "github.com/DFE-Digital/terraform-azurerm-key-vault-tfvars?ref=v0.1.2" + source = "github.com/DFE-Digital/terraform-azurerm-key-vault-tfvars?ref=v0.1.3" environment = local.environment project_name = local.project_name