Export one tagged Terraform AVM module from Azure/avm.
Resolves the exact tf/.../metadata.json module identity, copies only that module tree from an exact Git tree manifest, rejects unsupported links, Git LFS, submodules, development-only workflow content, and relative Terraform sources outside the module root, then adds an idempotent development-location banner to README.md. Shared publishing-repository policy files are owned by the caller.
Export-AvmTerraformModule [-Root] <string> [-ModulePath] <string> [-Destination] <string> [-AllowPathFallback] [-SkipModuleVersionCheck] [-WhatIf] [-Confirm] [<CommonParameters>]Allow a path-resolved Conftest binary with the lock-pinned version when parsing Terraform configuration.
| Property | Value |
|---|---|
| Type | Switch |
| Required | false |
| Position | named |
| Default value | False |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Empty or nonexistent directory that receives the isolated module tree.
| Property | Value |
|---|---|
| Type | String |
| Required | true |
| Position | 3 |
| Default value | |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Exact repository-relative metadata-declared module root.
| Property | Value |
|---|---|
| Type | String |
| Required | true |
| Position | 2 |
| Default value | |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Azure/avm checkout root at the selected release tag.
| Property | Value |
|---|---|
| Type | String |
| Required | true |
| Position | 1 |
| Default value | |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Skip the PowerShell Gallery version check for source or offline callers.
| Property | Value |
|---|---|
| Type | Switch |
| Required | false |
| Position | named |
| Default value | False |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Export-AvmTerraformModule -Root . -ModulePath 'tf/ptn/example-repo' -Destination $tempA PSCustomObject describing the resolved source and exported file count.