Skip to content

Commit bb89f62

Browse files
Added the correct variable name
1 parent 8d2d66c commit bb89f62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Deployment/resourcedeployment.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,15 @@ try {
667667
az network public-ip update --resource-group $aksResourceGroupName --name $publicIpName --dns-name $dnsName
668668

669669
# 6-4. Get FQDN for the public IP address
670-
$fqdn = az network public-ip show --resource-group $aksResourceGroupName --name $publicIpName --query "dnsSettings.fqdn" --output tsv
670+
#$fqdn = az network public-ip show --resource-group $aksResourceGroupName --name $publicIpName --query "dnsSettings.fqdn" --output tsv
671+
$fqdn = $null
671672
# Validate if the FQDN is null or empty
672673
ValidateVariableIsNullOrEmpty -variableValue $fqdn -variableName "FQDN"
673674

674675
# 7. Assign the role for aks system assigned managed identity to App Configuration Data Reader role with the scope of Resourcegroup
675676
Write-Host "Assign the role for aks system assigned managed identity to App Configuration Data Reader role" -ForegroundColor Green
676677
# Ensure that the required fields are not null or empty
677-
ValidateVariableIsNullOrEmpty -variableValue $deploymentResult.ResourceGroupName -variableName "Resource group name for AKS deployment"
678+
ValidateVariableIsNullOrEmpty -variableValue $deploymentResult.ResourceGroupName -variableName "Resource group name"
678679

679680
ValidateVariableIsNullOrEmpty -variableValue $deploymentResult.AksName -variableName "AKS cluster name"
680681

0 commit comments

Comments
 (0)