https://pulumi.com logo
Title
c

colossal-school-15171

10/23/2020, 11:51 PM
hey all! new to pulumi, but loving it so far. Stuck on a thing and hoping someone here might have insight. I've got an ingress controller all set up and configured in Azure. I want to administer it via pulumi, so I export the template.json from azure, run it through @white-balloon-205’s fancy ARM2Pulumi service, and get an index.ts out of that. Now I'm getting errors that I can't get my head around, and can't find anything online that references them.
pulumi up
Previewing update (ingress-test)

View Live: <https://app.pulumi.com/dangersorus/ingress-test/ingress-test/previews/7248690b-10f2-40f1-8883-43175065d385>

     Type                                                     Name                       Plan
     pulumi:pulumi:Stack                                      ingress-test-ingress-test
 +   ├─ azure-nextgen:containerservice/latest:AgentPool       agentPoolResource          create
 +   └─ azure-nextgen:containerservice/latest:ManagedCluster  managedClusterResource     create

Resources:
    + 2 to create
    1 unchanged

Do you want to perform this update? yes
Updating (ingress-test)

View Live: <https://app.pulumi.com/dangersorus/ingress-test/ingress-test/updates/4>

     Type                                                     Name                       Status                  Info
     pulumi:pulumi:Stack                                      ingress-test-ingress-test  **failed**              1 error
 +   ├─ azure-nextgen:containerservice/latest:AgentPool       agentPoolResource          **creating failed**     1 error
 +   └─ azure-nextgen:containerservice/latest:ManagedCluster  managedClusterResource     **creating failed**     1 error

Diagnostics:
  azure-nextgen:containerservice/latest:AgentPool (agentPoolResource):
    error: cannot check existence of resource /subscriptions/a8671a8f-0345-4bc3-890d-90085c807fd3/resourceGroups/test-group/providers/Microsoft.ContainerService/managedClusters/ingress-test/agentPools/test-cluster%2Fnodepool1: autorest/azure: error response cannot be parsed: "404: Page Not Found" error: json: cannot unmarshal number into Go value of type azure.RequestError: autorest/azure: error response cannot be parsed: "404: Page Not Found" error: json: cannot unmarshal number into Go value of type azure.RequestError

  azure-nextgen:containerservice/latest:ManagedCluster (managedClusterResource):
    error: Code="InvalidParameter" Message="The value of parameter windowsProfile.adminPassword is invalid. Please see <https://aka.ms/aks-naming-rules> for more details." Target="windowsProfile.adminPassword"

  pulumi:pulumi:Stack (ingress-test-ingress-test):
    error: update failed
b

billowy-army-68599

10/24/2020, 4:57 PM
hey! can you share the code it generated?
s

sparse-park-68967

10/26/2020, 5:55 AM
Yeah the generated code would be helpful here.
c

colossal-school-15171

10/26/2020, 9:33 PM