https://pulumi.com logo
Title
h

handsome-optician-50551

04/23/2020, 9:20 AM
Hello, my api management service has stopped working since tuesday when I updated to pulumi 2.0 locally. Here is my the service that I'm trying to create that has succeded in the past:
let service2 = new azure.apimanagement.Service("testams", {
resourceGroupName: "ddm-te-dev",
skuName: "Developer_1",
publisherName: "YourCompany",
publisherEmail: "<mailto:api@yourcompany.com|api@yourcompany.com>"
}, { customTimeouts: { create: "59m" } });
The error i get it: azure:apimanagement:Service (testams): error: unexpected unknown property value When I run pulumi preview it doesn't complain. Could you help me with this?
b

broad-dog-22463

04/23/2020, 9:48 AM
Hey @handsome-optician-50551 Sorry for the issue here - what version of Pulumi and Pulumi-azure are you using? Paul
h

handsome-optician-50551

04/23/2020, 10:46 AM
2.0.0
not sure where I can see the Pulumi-azure version
it downloads a resource plugin azure-2.1.0 if that is what you are referring too
b

broad-dog-22463

04/23/2020, 11:40 AM
Ok that’s the info we need - I’ll try and figure it out. Have you recently upgraded?
h

handsome-optician-50551

04/23/2020, 11:42 AM
My pipeline was set to latest for version but updated locally 2 days ago and thats when I noticed it
Before that I hadn't worked with it for 5 days maybe
@broad-dog-22463 Hi, did you find an bug?
@broad-dog-22463 Any update on the issue?
b

broad-dog-22463

04/27/2020, 11:56 AM
Hi @handsome-optician-50551 My apologies - I really thought I had responsed here to you - so I ran this exact same code as above and got the same error.:
Do you want to perform this update? yes
Updating (dev):
     Type                            Name            Status         Info
 +   pulumi:pulumi:Stack             apiservice-dev  created
     └─ azure:apimanagement:Service  testams         **failed**     1 error

Diagnostics:
  azure:apimanagement:Service (testams):
    error: unexpected unknown property value
h

handsome-optician-50551

04/27/2020, 12:40 PM
Thanks atleast now i know 🙂. How do I write the following? curl -fsSL https://get.pulumi.com/ | bash --version 1.14.1 i'm not sure where to put the version
b

broad-dog-22463

04/27/2020, 1:12 PM
curl -fsSL https://get.pulumi.com | sh -s -- --version "2.0.0-beta.2"
h

handsome-optician-50551

04/27/2020, 1:14 PM
thank you 😄
I tried running the older version aswell back to 1.12.1 and got the same error