Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added domainverificationid output #4491

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions avm/res/app/managed-environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ Whether or not this Managed Environment is zone-redundant.
| Output | Type | Description |
| :-- | :-- | :-- |
| `defaultDomain` | string | The Default domain of the Managed Environment. |
| `domainValidationId` | string | The domain verification id for custom domains. |
| `location` | string | The location the resource was deployed into. |
| `name` | string | The name of the Managed Environment. |
| `resourceGroupName` | string | The name of the resource group the Managed Environment was deployed into. |
Expand Down
3 changes: 3 additions & 0 deletions avm/res/app/managed-environment/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ output defaultDomain string = managedEnvironment.properties.defaultDomain
@description('The IP address of the Managed Environment.')
output staticIp string = managedEnvironment.properties.staticIp

@description('The domain verification id for custom domains.')
output domainValidationId string = managedEnvironment.properties.customDomainConfiguration.customDomainVerificationId

// =============== //
// Definitions //
// =============== //
Expand Down
11 changes: 9 additions & 2 deletions avm/res/app/managed-environment/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.13.18514",
"templateHash": "4503904336969657185"
"version": "0.33.93.31351",
"templateHash": "10729265077947604368"
},
"name": "App ManagedEnvironments",
"description": "This module deploys an App Managed Environment (also known as a Container App Environment)."
Expand Down Expand Up @@ -575,6 +575,13 @@
"description": "The IP address of the Managed Environment."
},
"value": "[reference('managedEnvironment').staticIp]"
},
"domainValidationId": {
"type": "string",
"metadata": {
"description": "The domain verification id for custom domains."
},
"value": "[reference('managedEnvironment').customDomainConfiguration.customDomainVerificationId]"
}
}
}
2 changes: 1 addition & 1 deletion avm/res/app/managed-environment/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"pathFilters": [
"./main.json"
]
}
}