From 271e6273ab6c9772a07bf05f79ee2814fe783381 Mon Sep 17 00:00:00 2001 From: florianow <64468897+florianow@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:20:10 +0200 Subject: [PATCH] chore: changing readme path --- .../buildingblocks/budget-alert/README.md | 9 +++- .../budget-alert/backplane/README.md | 54 ------------------- .../budget-alert/documentation.tf | 12 ----- kit/azure/buildingblocks/budget-alert/main.tf | 22 -------- .../buildingblocks/budget-alert/variables.tf | 22 -------- .../buildingblocks/budget-alert/versions.tf | 11 ---- .../connectivity/{backplane => }/README.md | 0 .../github-repo/{buildingblock => }/README.md | 0 .../subscription/{backplane => }/README.md | 0 9 files changed, 7 insertions(+), 123 deletions(-) delete mode 100644 kit/azure/buildingblocks/budget-alert/backplane/README.md delete mode 100644 kit/azure/buildingblocks/budget-alert/documentation.tf delete mode 100644 kit/azure/buildingblocks/budget-alert/main.tf delete mode 100644 kit/azure/buildingblocks/budget-alert/variables.tf delete mode 100644 kit/azure/buildingblocks/budget-alert/versions.tf rename kit/azure/buildingblocks/connectivity/{backplane => }/README.md (100%) rename kit/azure/buildingblocks/github-repo/{buildingblock => }/README.md (100%) rename kit/azure/buildingblocks/subscription/{backplane => }/README.md (100%) diff --git a/kit/azure/buildingblocks/budget-alert/README.md b/kit/azure/buildingblocks/budget-alert/README.md index 3ec41bda..c8d52064 100644 --- a/kit/azure/buildingblocks/budget-alert/README.md +++ b/kit/azure/buildingblocks/budget-alert/README.md @@ -45,5 +45,10 @@ No modules. | Name | Description | |------|-------------| -| [documentation\_md](#output\_documentation\_md) | n/a | - \ No newline at end of file +| [documentation\_md](#output\_documentation\_md) | Markdown documentation with information about the Budget Alert building block backplane | +| [role\_assignment\_ids](#output\_role\_assignment\_ids) | The IDs of the role assignments for the service principals. | +| [role\_assignment\_principal\_ids](#output\_role\_assignment\_principal\_ids) | The principal IDs of the service principals that have been assigned the role. | +| [role\_definition\_id](#output\_role\_definition\_id) | The ID of the role definition that enables deployment of the building block to subscriptions. | +| [role\_definition\_name](#output\_role\_definition\_name) | The name of the role definition that enables deployment of the building block to subscriptions. | +| [scope](#output\_scope) | The scope where the role definition and role assignments are applied. | + diff --git a/kit/azure/buildingblocks/budget-alert/backplane/README.md b/kit/azure/buildingblocks/budget-alert/backplane/README.md deleted file mode 100644 index 4982e357..00000000 --- a/kit/azure/buildingblocks/budget-alert/backplane/README.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -name: Azure Building Block - Subscription Budget Alert -summary: | - Building block module for adding a simple monthly budget alert to a subscription. ---- - -# Azure Subscription Budget Alert - -This documentation is intended as a reference documentation for cloud foundation or platform engineers using this module. - -## Permissions - -This is a very simple building block, which means we let the SPN have access to deploy budget alerts -across all subscriptions underneath a management group (typically the top-level management group for landing zones). - - -## Requirements - -| Name | Version | -|------|---------| -| [terraform](#requirement\_terraform) | >= 1.0 | -| [azurerm](#requirement\_azurerm) | ~> 3.71.0 | - -## Modules - -No modules. - -## Resources - -| Name | Type | -|------|------| -| [azurerm_role_assignment.buildingblock_deploy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/role_assignment) | resource | -| [azurerm_role_definition.buildingblock_deploy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/role_definition) | resource | -| [azurerm_subscription.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/subscription) | data source | - -## Inputs - -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [name](#input\_name) | name of the building block, used for naming resources | `string` | `"budget-alert"` | no | -| [principal\_ids](#input\_principal\_ids) | set of principal ids that will be granted permissions to deploy the building block | `set(string)` | n/a | yes | -| [scope](#input\_scope) | Scope where the building block should be deployable, typically the parent of all Landing Zones. | `string` | n/a | yes | - -## Outputs - -| Name | Description | -|------|-------------| -| [documentation\_md](#output\_documentation\_md) | Markdown documentation with information about the Budget Alert building block backplane | -| [role\_assignment\_ids](#output\_role\_assignment\_ids) | The IDs of the role assignments for the service principals. | -| [role\_assignment\_principal\_ids](#output\_role\_assignment\_principal\_ids) | The principal IDs of the service principals that have been assigned the role. | -| [role\_definition\_id](#output\_role\_definition\_id) | The ID of the role definition that enables deployment of the building block to subscriptions. | -| [role\_definition\_name](#output\_role\_definition\_name) | The name of the role definition that enables deployment of the building block to subscriptions. | -| [scope](#output\_scope) | The scope where the role definition and role assignments are applied. | - \ No newline at end of file diff --git a/kit/azure/buildingblocks/budget-alert/documentation.tf b/kit/azure/buildingblocks/budget-alert/documentation.tf deleted file mode 100644 index 39fedf4f..00000000 --- a/kit/azure/buildingblocks/budget-alert/documentation.tf +++ /dev/null @@ -1,12 +0,0 @@ -output "documentation_md" { - value = <