From d6b08bb239ac8909cf698e8bf90c93118c7c2b4a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Feb 2023 13:57:53 +0000 Subject: [PATCH] terraform-docs: automated action --- README.md | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 09ea6a7..7a3a471 100644 --- a/README.md +++ b/README.md @@ -11,31 +11,54 @@ This is a template module. It just showcases how a module should look. This woul It's very easy to use! ```hcl - +provider "azurerm" { + features {} +} + +module "dependencyAgentWindowsPolicy" { + source = "../../" + management_group_id = "/providers/Microsoft.Management/managementGroups/myManagementGroup" +} ``` ## Requirements -No requirements. +| Name | Version | +|------|---------| +| [azurerm](#requirement\_azurerm) | >= 3.7.0 | ## Inputs -No inputs. +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [management\_group\_id](#input\_management\_group\_id) | Management group on which to define and assign the policy. | `string` | n/a | yes | ## Outputs No outputs. + ## Resource types -No resources. +| Type | Used | +|------|-------| +| [azurerm_management_group_policy_assignment](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_group_policy_assignment) | 1 | +| [azurerm_policy_definition](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/policy_definition) | 1 | +| [azurerm_role_assignment](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/role_assignment) | 1 | +**`Used` only includes resource blocks.** `for_each` and `count` meta arguments, as well as resource blocks of modules are not considered. ## Modules No modules. + ## Resources by Files -No resources. +### main.tf +| Name | Type | +|------|------| +| [azurerm_management_group_policy_assignment.windows_dependency_agent](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_group_policy_assignment) | resource | +| [azurerm_policy_definition.windows_dependency_agent](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/policy_definition) | resource | +| [azurerm_role_assignment.log_analytics_contributor](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/role_assignment) | resource | ## Contribute