Skip to content

Commit

Permalink
chore(deps): update terraform azuread to v3 (#977)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
renovate[bot] and tjololo authored Jan 28, 2025
1 parent c73e320 commit fa71e04
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
48 changes: 24 additions & 24 deletions infrastructure/products/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions infrastructure/products/entra.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ 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
}

# 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
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/products/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azuread = {
source = "hashicorp/azuread"
version = "~> 2.53.0"
version = "~> 3.1.0"
}
azurerm = {
source = "hashicorp/azurerm"
Expand Down

0 comments on commit fa71e04

Please sign in to comment.