diff --git a/share-resources/share.tf b/share-resources/share.tf index 101dcec..34ad92d 100644 --- a/share-resources/share.tf +++ b/share-resources/share.tf @@ -88,7 +88,7 @@ locals { } resource "aws_ram_principal_association" "subnets_organizational_units" { - for_each = var.share_enabled ? local.share_organizatonal_unit_map : {} + for_each = var.share_enabled ? local.share_organizational_unit_map : {} principal = each.value.organization_unit_arn resource_share_arn = aws_ram_resource_share.subnets[each.value.subnet_id].arn }