https://pulumi.com logo
#azure
Title
# azure
p

prehistoric-nail-50687

01/08/2021, 10:51 AM
does
nextgen
not (yet) support the import command and generate the code? I was not able to find an example…
t

tall-librarian-49374

01/08/2021, 10:59 AM
it does support it
p

prehistoric-nail-50687

01/08/2021, 11:30 AM
ah thanks!
@tall-librarian-49374 but what about WebApp? https://www.pulumi.com/docs/reference/pkg/azure-nextgen/web/webapp/
t

tall-librarian-49374

01/08/2021, 11:36 AM
Oh, interesting. It’s supported - not sure why the doc section is missing.
p

prehistoric-nail-50687

01/08/2021, 12:04 PM
Ok, I now managed to get it working. I think the import documentation could be enhanced with the info that one might need to adapt
latest
with the correct version supported for a specific location. e.g. instead of
latest
or
v20200901
(latest API version according to the pulumi documentation), I had to use
v20200601
in the import command for the:
pulumi import azure-nextgen:web/v20200601:WebApp …
t

tall-librarian-49374

01/08/2021, 12:05 PM
p

prehistoric-nail-50687

01/08/2021, 12:06 PM
👍
t

tall-librarian-49374

01/08/2021, 2:42 PM
3 Views