### Type Definition for intents_policy_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the structure for the intents_policy_customization input variable, specifying an optional list for disabling mandatory compliance policies. ```hcl object({ policies_disabled = optional(list(string), []) }) ``` -------------------------------- ### Type Definition for groups_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the structure for the groups_customization input variable, specifying optional lists for disabled groups and a map for custom group definitions. ```hcl object({ groups_disabled = optional(list(string), []) groups_custom_definitions = optional(map(any), {}) }) ``` -------------------------------- ### Type Definition for device_configuration_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the complex object type for the `device_configuration_customization` input variable in HCL. It allows specifying lists of device configurations to be disabled or optionally enabled. ```HCL object({ policies_disabled = optional(list(string), []) policies_optional_enabled = optional(list(string), []) }) ``` -------------------------------- ### Type Definition for filters_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the structure for the filters_customization input variable, specifying optional lists for disabled filters and a map for custom filter definitions. ```hcl object({ filters_disabled = optional(list(string), []) filters_custom_definitions = optional(map(any), {}) }) ``` -------------------------------- ### Import Microsoft 365 Resource using aad2tf.ps1 (Shell) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/tools/aad2tf/ReadMe.md Uses the `aad2tf.ps1` script to import an existing Microsoft 365 resource into Terraform state and generate configuration. The command requires the resource type and its unique identifier (GUID). Examples show importing different resource types. ```shell ./aad2tf.ps1 microsoft365wp_device_configuration_custom 44cdc9bf-6467-4252-bc71-21e99ed2e69f ``` ```shell ./aad2tf.ps1 microsoft365wp_device_management_configuration_policy fe3bd7eb-d7c2-42d5-ba32-6d5ee27ced57 ``` ```shell ./aad2tf.ps1 microsoft365wp_device_management_configuration_policy 06e5889d-2f86-41c9-9f60-5bbf2a1f70f9 ``` -------------------------------- ### Type Definition for compliance_policy_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the complex object type for the `compliance_policy_customization` input variable in HCL. It allows specifying lists of compliance policies to be disabled or optionally enabled. ```HCL object({ policies_disabled = optional(list(string), []) policies_optional_enabled = optional(list(string), []) }) ``` -------------------------------- ### Type Definition for configuration_policy_customization (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the complex object type for the `configuration_policy_customization` input variable in HCL. It allows specifying lists of configuration policies to be disabled or optionally enabled. ```HCL object({ policies_disabled = optional(list(string), []) policies_optional_enabled = optional(list(string), []) }) ``` -------------------------------- ### Type Definition for configuration_macos_firewall (HCL) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Defines the complex object type for the `configuration_macos_firewall` input variable in HCL. It includes optional boolean parameters for blocking all incoming connections and enabling stealth mode. ```HCL object({ block_all_incoming = optional(bool, false) enable_stealth = optional(bool, true) }) ``` -------------------------------- ### Default Value for breakglass_usernames (JSON) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/parameters_reference.md Default value for the `breakglass_usernames` input variable, specifying the initial list of break glass account usernames. This is a JSON array containing a single string element. ```JSON [ "cloudadmin" ] ``` -------------------------------- ### Initialize Terraform Project (Shell) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/tools/aad2tf/ReadMe.md Initializes a Terraform working directory, downloading necessary providers (like the microsoft365wp provider) and modules defined in the configuration files. ```shell terraform init ``` -------------------------------- ### Plan Terraform Changes (Shell) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/tools/aad2tf/ReadMe.md Generates an execution plan showing what actions Terraform will take to achieve the desired state defined in the configuration files. This step is used to verify that the imported resources match the configuration. ```shell terraform plan ``` -------------------------------- ### Source Environment Variables (Shell) Source: https://github.com/terraprovider/terraform-provider-microsoft365wp-quickstart/blob/main/tools/aad2tf/ReadMe.md Loads environment variables from a .env file into the current shell session, typically for authentication credentials required by the script or Terraform. ```shell . ./.env ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.