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

Break some things #1

Open
wants to merge 1 commit 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
5 changes: 2 additions & 3 deletions deploy/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
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' = {
Expand All @@ -18,7 +17,7 @@
agentPoolProfiles: [
{
name: 'agentpool'
osDiskSizeGB: osDiskSizeGB
osDisksSizeGB: osDiskSizeGB

Check warning

Code scanning / bicep

The property "osDisksSizeGB" is not allowed on objects of type "ManagedClusterAgentPoolProfile". Did you mean "osDiskSizeGB"? Warning

The property "osDisksSizeGB" is not allowed on objects of type "ManagedClusterAgentPoolProfile". Did you mean "osDiskSizeGB"?
count: agentCount
vmSize: agentVmSize
osType: 'Linux'
Expand Down Expand Up @@ -51,4 +50,4 @@
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'

Check failure

Code scanning / bicep

Expected the "=" character at this location. Error

Expected the "=" character at this location.

Check failure

Code scanning / bicep

Expected a literal value, an array, an object, a parenthesized expression, or a function call at this location. Error

Expected a literal value, an array, an object, a parenthesized expression, or a function call at this location.
2 changes: 1 addition & 1 deletion deploy/main.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Loading