Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/organization hierarchy bump #58

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kit/azure/organization-hierarchy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ After deploying this module, you should probably deploy the following kit module

| Name | Source | Version |
|------|--------|---------|
| <a name="module_policy_root"></a> [policy\_root](#module\_policy\_root) | github.com/meshcloud/collie-hub//kit/azure/util/azure-policies | 9b1511aa4485bba06f07e054d2c0b2003992f2c9 |
| <a name="module_policy_root"></a> [policy\_root](#module\_policy\_root) | github.com/meshcloud/collie-hub//kit/azure/util/azure-policies | da8dd49 |

## Resources

Expand Down
5 changes: 3 additions & 2 deletions kit/azure/organization-hierarchy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "azurerm_management_group" "parent" {
}

module "policy_root" {
source = "github.com/meshcloud/collie-hub//kit/azure/util/azure-policies?ref=9b1511aa4485bba06f07e054d2c0b2003992f2c9"
source = "github.com/meshcloud/collie-hub//kit/azure/util/azure-policies?ref=da8dd49"

policy_path = "./lib/root"
management_group_id = azurerm_management_group.parent.id
Expand Down Expand Up @@ -53,7 +53,8 @@ resource "azurerm_management_group" "management" {
parent_management_group_id = azurerm_management_group.platform.id
}

# # Move management subscription into the new organization hierarchy
# Move management subscription into the new organization hierarchy
# add this if moving the management group under the created hierardhy is desired
# data "azurerm_subscription" "current" {
# }

Expand Down
Loading