• s

    swift-hamburger-98290

    7 months ago
    Is there a way to restart a WebApp after assigning a
    RoleAssignment
    (https://www.pulumi.com/registry/packages/azure-native/api-docs/authorization/roleassignment/)? We run into the following problem:1. Create KeyVault and a secret; 2. Create WebApp; 3. Give
    Key Vault Secrets User
    to WebApp on the KeyVault; 4. WebApp crashes because it starts without having the permission yet. Is there a way to solve this?
    s
    f
    9 replies
    Copy to Clipboard
  • m

    millions-journalist-34868

    7 months ago
    What is the proper way to grant permissions to add azure ad users/ applications on an azure sql database using Pulumi ? Doing that requires to execute an sql command on the database and I don't know where to put this code in my Pulumi program:
    CREATE USER [<identity-name>] FROM EXTERNAL PROVIDER;
    ALTER ROLE db_datareader ADD MEMBER [<identity-name>];
    ALTER ROLE db_datawriter ADD MEMBER [<identity-name>];
    GO
    I have seen there is a new Command package in Pulumi, could this be a good idea to use that? What are the other options? Dynamic provider?
    m
    d
    9 replies
    Copy to Clipboard
  • a

    ancient-eve-13947

    7 months ago
    can anyone point me to an example or at least some hints how to upload a file to an Azure FileShare? I'm using the azure native provider.
    a
    1 replies
    Copy to Clipboard
  • a

    ancient-eve-13947

    7 months ago
    does anyone have a sample for how to set up an event-grid subscription to a web hook (not an Azure Function) for writes to a storage account?
    a
    t
    11 replies
    Copy to Clipboard
  • a

    ancient-eve-13947

    7 months ago
    maybe this is worth a separate question: how do I make a pulumi resource depend on a (Azure native) WebAppnot just having been provisioned, but having started?
    a
    t
    +1
    6 replies
    Copy to Clipboard
  • m

    millions-journalist-34868

    7 months ago
    Do you have plans to create a native provider for Microsoft Graph? Microsoft Graph is heavily used when working with Microsoft and Azure so it would definitively make sense for Pulumi to support it. Moreover, provisioning resources in Azure Active Directory (User, App Registration, Groups) is now done through the Microsoft Graph so it would me more appropriate to do that through a native provider instead of using the current AzureAD provider which is a bridge from Terraform Provider. When creating a stack to provision resources on Azure it is really great to use a native provider for Azure (RM) with all the advantages it brings, yet we also have to use the "old" AzureAD provider alongside.
    m
    a
    +1
    6 replies
    Copy to Clipboard
  • m

    mysterious-australia-14256

    7 months ago
    I am experiencing an issue where my stack file is getting bloated i.e. it has jumped from 1.3MB to 430MB. This is causing very slow stack operations suck as pulumi up. If I export the stack and look inside the issue seems to be Azure service bus related. I have thousands of lines all relating to various service bus components repeated over and over for each combination of versions. This is a small section for one Service Bus Topic Rule)
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus:Subscription$azure-native:servicebus/v20210101preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus:Subscription$azure-native:servicebus/v20210601preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus:Subscription$azure-native:servicebus/v20211101:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus/v20170401:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus/v20180101preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus/v20210101preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus/v20210601preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20140901:Subscription$azure-native:servicebus/v20211101:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20150801:Subscription$azure-native:servicebus:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20150801:Subscription$azure-native:servicebus/v20170401:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20150801:Subscription$azure-native:servicebus/v20180101preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20150801:Subscription$azure-native:servicebus/v20210101preview:Rule::<rulename>",
    "urn:pulumi:<stack>::<project>::azure-native:resources/v20190701:ResourceGroup$azure-native:servicebus/v20150801:Namespace$azure-native:servicebus:Topic$azure-native:servicebus/v20150801:Subscription$azure-native:servicebus/v20210601preview:Rule::<rulename>",
    How can I clean this up and prevent it from happening? Thanks Alan
    m
    4 replies
    Copy to Clipboard
  • o

    orange-whale-70892

    7 months ago
    in the yaml example https://docs.microsoft.com/en-us/azure/container-instances/container-instances-vnet#example---yaml you can add subnetIds. But i cannot find that settings in the ContainerGroupArgs
    o
    5 replies
    Copy to Clipboard
  • v

    victorious-exabyte-70545

    7 months ago
    Hey guys, I am wondering if anyone has experience using pulumi executing powershell scripts as a part of a deployment. I am trying to run the following:
    v
    1 replies
    Copy to Clipboard
  • p

    prehistoric-kite-30979

    7 months ago
    I dont think
    .get
    works in the TS azure-native plugin for Outputs… /thread
    p
    5 replies
    Copy to Clipboard