Skip to content

Commit

Permalink
Updated to latest PE version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 26, 2024
1 parent 864628c commit 5999204
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 242 deletions.
2 changes: 1 addition & 1 deletion avm/res/key-vault/vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3188,7 +3188,7 @@ This section gives you an overview of all local-referenced module files (i.e., o

| Reference | Type |
| :-- | :-- |
| `br/public:avm/res/network/private-endpoint:0.8.0` | Remote reference |
| `br/public:avm/res/network/private-endpoint:0.9.0` | Remote reference |

## Data Collection

Expand Down
19 changes: 9 additions & 10 deletions avm/res/key-vault/vault/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ module keyVault_keys 'key/main.bicep' = [
}
]

module keyVault_privateEndpoints 'br/public:avm/res/network/private-endpoint:0.8.0' = [
module keyVault_privateEndpoints 'br/public:avm/res/network/private-endpoint:0.9.0' = [
for (privateEndpoint, index) in (privateEndpoints ?? []): {
name: '${uniqueString(deployment().name, location)}-keyVault-PrivateEndpoint-${index}'
scope: resourceGroup(privateEndpoint.?resourceGroupName ?? '')
Expand Down Expand Up @@ -397,8 +397,8 @@ output privateEndpoints privateEndpointOutputType[] = [
name: keyVault_privateEndpoints[index].outputs.name
resourceId: keyVault_privateEndpoints[index].outputs.resourceId
groupId: keyVault_privateEndpoints[index].outputs.groupId
customDnsConfig: keyVault_privateEndpoints[index].outputs.customDnsConfig
networkInterfaceIds: keyVault_privateEndpoints[index].outputs.networkInterfaceIds
customDnsConfigs: keyVault_privateEndpoints[index].outputs.customDnsConfig
networkInterfaceResourceIds: keyVault_privateEndpoints[index].outputs.networkInterfaceResourceIds
}
]

Expand All @@ -424,7 +424,6 @@ output keys credentialOutputType[] = [
// ================ //
// Definitions //
// ================ //

@export()
type privateEndpointOutputType = {
@description('The name of the private endpoint.')
Expand All @@ -434,19 +433,19 @@ type privateEndpointOutputType = {
resourceId: string

@description('The group Id for the private endpoint Group.')
groupId: string
groupId: string?

@description('The custom DNS configurations of the private endpoint.')
customDnsConfig: {
@description('Fqdn that resolves to private endpoint IP address.')
fqdn: string
customDnsConfigs: {
@description('FQDN that resolves to private endpoint IP address.')
fqdn: string?

@description('A list of private IP addresses of the private endpoint.')
ipAddresses: string[]
}[]?
}[]

@description('The IDs of the network interfaces associated with the private endpoint.')
networkInterfaceIds: string[]
networkInterfaceResourceIds: string[]
}

@export()
Expand Down
Loading

0 comments on commit 5999204

Please sign in to comment.