https://pulumi.com logo
#general
Title
# general
w

witty-honey-13693

01/24/2022, 4:10 AM
Hi All Iam trying to create / fetch (string format) the Azure Function Host keys through Pulumi. Tried different methods but nothing worked. Finally i was able to fetch the host keys through Powershell command. But is there a way to execute this powershell command in my pulumi stack. Refer to the the image below.
p

prehistoric-nail-50687

01/24/2022, 5:43 AM
@witty-honey-13693 you can call any script/command with this package: https://www.pulumi.com/registry/packages/command/
w

witty-honey-13693

01/24/2022, 5:44 AM
Thank you @prehistoric-nail-50687 I will give it a try.
For some reason Iam getting this error even after adding
Copy code
using Pulumi.Command.Local;
Am i missing any thing else ?
4 Views