From fa71e04dd9f2df0fc8c0f16f682a80b8a6fcef82 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:20:45 +0100 Subject: [PATCH] chore(deps): update terraform azuread to v3 (#977) * chore(deps): update terraform azuread to v3 * fix bad atrribute reference --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: tjololo <1145298+tjololo@users.noreply.github.com> --- infrastructure/products/.terraform.lock.hcl | 48 ++++++++++----------- infrastructure/products/entra.tf | 4 +- infrastructure/products/main.tf | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/infrastructure/products/.terraform.lock.hcl b/infrastructure/products/.terraform.lock.hcl index 5dc7d182..2be175a8 100644 --- a/infrastructure/products/.terraform.lock.hcl +++ b/infrastructure/products/.terraform.lock.hcl @@ -2,32 +2,32 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/hashicorp/azuread" { - version = "2.53.1" - constraints = "~> 2.53.0" + version = "3.1.0" + constraints = "~> 3.1.0" hashes = [ - "h1:/8F5vc1FReT/eVgZqS90PcaDnrKa4LZ1b9YWNkbTDsI=", - "h1:/aBrKb5AE9eaRHMEpIp4x+/6/Z1tw4ik+OiTARqlCw8=", - "h1:0z/718jtR2TJHQQMMqi4nvd6XFPV/iA1jb/5fyAcn5o=", - "h1:2rk36pu4YyhBVz/Mf4swYCQxaB31iPaXOiWNlqZMXbM=", - "h1:7ZNdNGnUB6N6Z6St3COzRXFaghMEyYkZt7WyOCRKOqo=", - "h1:EZNO8sEtUABuRxujQrDrW1z1QsG0dq6iLbzWtnG7Om4=", - "h1:GS/WN8VS6Wp9hvs46lgDsR4ERV8o3Sr+zatF/z2XohU=", - "h1:NG9JvYCwaRabKtbi12uMbSvrvW29oAtzGwdfWA/4HGI=", - "h1:Pnaig5p8+RZLoGUIRcQ2toFgsp2u2OaqlXDQgi5X+RY=", - "h1:kAkPZLFPUEYqWjk5F2T3zC5huRq35o8HD4DJEmpEjyQ=", - "h1:nUxVPReSTQuIux+SRC1bH2QQ0HsJywR7IGqHhVNoXfA=", - "zh:162916b037e5133f49298b0ffa3e7dcef7d76530a8ca738e7293373980f73c68", + "h1:3IL36hU+a3ItNQcD4DUKMyCzQL99gYPTUCmzhOcWk7k=", + "h1:5FtOiormKTYibFrWcyjVLpSOaZmGE57HthZk1zM9PDI=", + "h1:5bFl5kqASmq2HW12dkTlpveG2sRPeSPIYxOJJ7nxtNE=", + "h1:Lsc0jEHsk+Btz05IaoPjCL7UHFatc7SmDtOdgs9VBOk=", + "h1:QY/V8YuAw2phme+ryKEbZ/9B+Xi7SfXAOVr4uBoRqpk=", + "h1:UmSL7MD8ULg/WlRgwisD5lHsjcg9l8AO7AeO0XN96dU=", + "h1:W7fSBa52yEvfF68nDpMpdq/Cmv7etcqMuC+sQfI9S98=", + "h1:oRliSu2DocxHIV4tIlr+jeOPw1IL8pipjAPNbXAWJD0=", + "h1:sBGDtSwT8Cz4NLBdR+LPPZW0L7kEIzOyvPDjv31COMw=", + "h1:ukyPZG2fnTkWoeOizY2c5s5OyOKIwNkkNdBtgnK9W60=", + "h1:waefTxGnXGI5s3eq8THePtMmfwd4xdWnNh2GrauM9L4=", + "zh:01b796cf12e93cc811cb15c8465605e75de170802060f9e2fe114835968960dd", + "zh:12005fbffb84467ff1d4ce9317370834d1279743bc201d3db95f36315cdf8157", "zh:1c3e89cf19118fc07d7b04257251fc9897e722c16e0a0df7b07fcd261f8c12e7", - "zh:492931cea4f30887ab5bca36a8556dfcb897288eddd44619c0217fc5da2d57e7", - "zh:4c895e450e18335ad8714cc6d3488fc1a78816ad2851a91b06cb2ef775dd7c66", - "zh:60d92fdaf7235574201f2d8f68f733ee00a822993b3fc95e6952e09e6ec76999", - "zh:67a169119efa41c1fb867ef1a8e79bf03472a2324384c36eb55370c817dcce42", - "zh:9dd4d5ed9233cf9329262200bc5a1aa60942b80dbc611e2ef4b09f47531b39b1", - "zh:a3c160e35b9e40fc1497b83c2f37a8e24565b05a1783c7733609f3695735c2a9", - "zh:a4a221da42b1f46e7c436c7145e5beaadfd9d03f3be6fd526d132c03f18a5979", - "zh:af0d3476a9702d2287e168e3baa670e64daab9c9b01c01e17025a5248f3e28e9", - "zh:e3579bff7894f3d36066b74ec324be6d28f56a42a387a2b8a0eabf33cbff86df", - "zh:f1749ee8ad972ae6424665aa9d2c0ece8c40c51d41ec2f38b863148cb437e865", + "zh:1daf7d4ade44e69593488c1f6571b4fbdaf01ec41538207de1f12609b3830907", + "zh:386965c0529ed083b94968c25441385378d8643a5748591b221e6d6d3cea4dbc", + "zh:46ede0628c300c6d584135daa93733400b9ce968d8aebb3f925d904b3fcfa781", + "zh:7af453bf5217e1818ca5c2126edb8fe573c85f17a0557415a3bc7ae92a8652f5", + "zh:b6014600409715ca37aa85ddb066698f592b7d104f09c12a68d45c5b00404272", + "zh:bca84d10cd1e805e6d31a888eb6737a96aee14e1b5b919dee73d2a5a8ff85beb", + "zh:bd7d6e6c2a086bafdeeb33d5d4f919a8789ef3acf1a0baf2b8ea43996b96c213", + "zh:e5b7840b1b9d90c3f6be9a59400b7d0580376415a79aa740eba7f97bf35c25ef", + "zh:e94e114b205de36d60bc17a3758f9c4bfc6b01e63be81ae1d9699f9bf9650362", ] } diff --git a/infrastructure/products/entra.tf b/infrastructure/products/entra.tf index 437f7d12..3a0abafb 100644 --- a/infrastructure/products/entra.tf +++ b/infrastructure/products/entra.tf @@ -115,7 +115,7 @@ resource "azuread_group_member" "product_readers" { # https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/group_member resource "azuread_group_member" "admin_contributor" { - group_object_id = azuread_group.developers[each.key].id + group_object_id = azuread_group.developers[each.key].object_id member_object_id = azuread_group.admins[each.key].object_id for_each = local.products @@ -123,7 +123,7 @@ resource "azuread_group_member" "admin_contributor" { # https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/group_member resource "azuread_group_member" "contributor_reader" { - group_object_id = azuread_group.readers[each.key].id + group_object_id = azuread_group.readers[each.key].object_id member_object_id = azuread_group.developers[each.key].object_id for_each = local.products diff --git a/infrastructure/products/main.tf b/infrastructure/products/main.tf index bd1da16d..b39cc223 100644 --- a/infrastructure/products/main.tf +++ b/infrastructure/products/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azuread = { source = "hashicorp/azuread" - version = "~> 2.53.0" + version = "~> 3.1.0" } azurerm = { source = "hashicorp/azurerm"