Skip to content

Commit

Permalink
Break some things
Browse files Browse the repository at this point in the history
anthony-c-martin committed Dec 15, 2023
1 parent a97e76f commit a30ec86
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions deploy/main.bicep
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ var osDiskSizeGB = 0
var agentCount = 1
var agentVmSize = 'Standard_B2s'

#disable-next-line no-loc-expr-outside-params
var location = resourceGroup().location

resource aks 'Microsoft.ContainerService/managedClusters@2022-04-01' = {
@@ -18,7 +17,7 @@ resource aks 'Microsoft.ContainerService/managedClusters@2022-04-01' = {
agentPoolProfiles: [
{
name: 'agentpool'
osDiskSizeGB: osDiskSizeGB
osDisksSizeGB: osDiskSizeGB
count: agentCount
vmSize: agentVmSize
osType: 'Linux'
@@ -51,4 +50,4 @@ module kubernetes './modules/kubernetes.bicep' = {
var dnsLabel = kubernetes.outputs.dnsLabel
var normalizedLocation = toLower(replace(location, ' ', ''))

output endpoint string = 'http://${dnsLabel}.${normalizedLocation}.cloudapp.azure.com'
output endpoint string 'http://${dnsLabel}.${normalizedLocation}.cloudapp.azure.com'
2 changes: 1 addition & 1 deletion deploy/main.bicepparam
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@ using './main.bicep'

param baseName = 'bicepbuild'
param dnsPrefix = baseName
param linuxAdminUsername = 'anthony'
param linuxdAdminUsername = 'anthony'
param sshRSAPublicKey = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCd0Z7O2n3XcN0nm1DXGu0LkFMtW9bNyEXQC1FgPskQ1FN1FNIuumHdRC6h1w44/aUiDBaOZ+Tb/opB30OZDNAqdc0L0tBqatZiP1oIorFrjAS15vCdMUy3S6u9WxJKPteB2O45gMvTVz+80mYmWwTsRpSNXXJ6TPKazNwNtgQw0fpKHsnkFHSnBOpqXqtZPhJMCPggHOzU49iK1tPyInMPqhvk4Kk9OC7E3SU7l6hQn76wIpREkIdEVxhlLhxN37N+wPk5d1krreJE+EOVg/EJOORIpeG/MIn6ticeCb+dXnyfJkZTh/7J/zmTKlIzF43Eeg3OLMPunQGgPCDtRujZJAA+lFFT4m0h+LmtlWeBO9VlsAmfC2hm0OgGgkn69qLJ3pw5WLBp1NDpgeIwp6jvCYw2sUr4b2VzRfOMKiRngCrNrt9LKdJ57W2t8Y1kkfK9xlLEI/+goLT2KD07NmU4wuFsBHA2uh55S0j/NAUpgouB+nONrelIy8IUnpzlPkM= [email protected]'

0 comments on commit a30ec86

Please sign in to comment.