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 = <