does `nextgen` not (yet) support the import comman...
# azure
p
does
nextgen
not (yet) support the import command and generate the code? I was not able to find an example…
t
it does support it
p
ah thanks!
@tall-librarian-49374 but what about WebApp? https://www.pulumi.com/docs/reference/pkg/azure-nextgen/web/webapp/
t
Oh, interesting. It’s supported - not sure why the doc section is missing.
p
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
p
👍
t