Skip to content

Commit

Permalink
Merge pull request #4 from fjdev/fix/data-management-group
Browse files Browse the repository at this point in the history
Fix/data management group
  • Loading branch information
fjdev authored Jul 10, 2024
2 parents 071650e + 8b01781 commit 6757560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ No requirements.
| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | n/a |
| <a name="provider_management"></a> [management](#provider\_management) | n/a |

## Modules

Expand All @@ -23,8 +22,8 @@ No modules.
| [azurerm_billing_enrollment_account_scope.ea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_enrollment_account_scope) | data source |
| [azurerm_billing_mca_account_scope.mca](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_mca_account_scope) | data source |
| [azurerm_billing_mpa_account_scope.mpa](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_mpa_account_scope) | data source |
| [azurerm_management_group.mg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/management_group) | data source |
| [azurerm_subscriptions.created](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/subscriptions) | data source |
| [management_group.mg](https://registry.terraform.io/providers/hashicorp/management/latest/docs/data-sources/group) | data source |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data "azurerm_subscriptions" "created" {
depends_on = [azurerm_subscription.subscription]
}

data "management_group" "mg" {
data "azurerm_management_group" "mg" {
count = local.management_group_subscription_association

name = var.management_group_name
Expand Down

0 comments on commit 6757560

Please sign in to comment.