https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
azure
  • s

    steep-alligator-79173

    08/20/2020, 11:18 AM
    any one know how to create ssh key pair ? I can’t find any pulumi resources to create one.
    t
    b
    • 3
    • 9
  • e

    eager-truck-98220

    08/24/2020, 10:18 AM
    Hi I have just started using pulumi to setup my azure infrastructure. Is it possible to install a site extension for an Azure Web App?
    t
    • 2
    • 2
  • b

    boundless-musician-43495

    08/25/2020, 8:19 PM
    hey there - i'm creating an appservice with a sql database and I ran into issues adding the firewall rules to the sql server I'm having to run Apply on the OutputIpAddresses property to get access to the comma delimited string of ip addresses, then iterating over them to create the rules all of that happens inside the Apply block, which the docs say not to do it works but is there a more correct way to do this? have I missed something blindingly obvious as this doesn't feel like a rare scenario this is all using the C# SDK
    t
    • 2
    • 2
  • c

    colossal-room-15708

    08/26/2020, 5:08 AM
    Anybody in Australian time zones (or NZ available during AU times) available for a nice contract? Get in touch with me here or david@xirus.com.au
    👍 1
    l
    • 2
    • 1
  • a

    adamant-advantage-95831

    08/27/2020, 12:08 AM
    When using the ImportId for Azure Resources -- how do you determine what else is needed when receiving
    warning: inputs to import do not match the existing resource; importing this resource will fail
    -- there's a bit on the Info section but like for an app service, it says
    [diff: ~siteConfig]; 1 warning
    how do I know what it wants for the site config?
  • w

    wet-noon-14291

    08/27/2020, 11:04 AM
    I've once logged in with user A against aks, and now when I run my
    pulumi up
    after doing a
    az login
    and selecting user B it still complains that user A doesn't have in the kubernetes I'm trying to set up. Do I need to authenticate with kubectl somehow?
    g
    • 2
    • 3
  • i

    icy-train-33339

    08/31/2020, 6:57 AM
    Hi
  • i

    icy-train-33339

    08/31/2020, 6:57 AM
    I have an issue when using pulumi create the api schema in azure api management
  • i

    icy-train-33339

    08/31/2020, 6:57 AM
    anyone can help me please?
    k
    • 2
    • 6
  • f

    fancy-nightfall-60106

    09/01/2020, 1:33 PM
    Im trying to create a `MetricAlert`that is connected to a
    WebTest
    - according to https://docs.microsoft.com/en-us/rest/api/monitor/metricalerts/createorupdate#create-or-update-a-web-test-alert-rule it looks like it doesn't need a
    scopes
    -property, but Pulumi requires that
    Scopes
    is not empty. Settings scopes to ApplicationInsightsId failes with:
    Alert scope is invalid
    Not settings Scopes failes with:
    Pulumi.Azure.Monitoring.MetricAlertArgs._scopes is required but was not given a value (Parameter '_scopes')
    Any ideas? Sample code in thread.
    b
    • 2
    • 4
  • l

    limited-rainbow-51650

    09/07/2020, 6:56 AM
    There doesn’t seem to be support for the
    Application Gateway Ingress Controller
    yet. Does anyone have a workaround integrated in their Pulumi setup? https://docs.microsoft.com/en-us/azure/application-gateway/ingress-controller-overview
    t
    • 2
    • 6
  • f

    fancy-nightfall-60106

    09/07/2020, 8:24 AM
    Refreshing CosmosDB container failes with:
    refreshing urn:pulumi:<stack>::azure:cosmosdb/sqlContainer:SqlContainer::<container>: ID was missing the `sqlDatabases` element
    I think the ID is referring to the ResourceId in Azure - and the format of a container Id is:
    /subscriptions/<subscriptionid>/resourceGroups/<resourcegroup>/providers/Microsoft.DocumentDB/databaseAccounts/<accoutname>/apis/sql/databases/<db>/containers/<container>
    There is not reference to "sqlDatabases" here and Im not sure how to proceed to get 'pulumi refresh' to run successfully. Im not quite sure when this error occured, but Im now using Pulumi.Azure 3.20 and Pulumi 2.9.1
  • f

    few-pillow-1133

    09/08/2020, 6:27 PM
    Is there a way to use storage account for azure automation module content link, rather than GitHub
    example_run_book = azure.automation.RunBook("exampleRunBook",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        automation_account_name=example_account.name,
        log_verbose=True,
        log_progress=True,
        description="This is an example runbook",
        runbook_type="PowerShellWorkflow",
        publish_content_link=azure.automation.RunBookPublishContentLinkArgs(
            uri="<https://raw.githubusercontent.com/Azure/azure-quickstart-templates/c4935ffb69246a6058eb24f54640f53f69d3ac9f/101-automation-runbook-getvms/Runbooks/Get-AzureVMTutorial.ps1>",
        ))
    • 1
    • 1
  • w

    worried-stone-50514

    09/09/2020, 11:59 PM
    Hi Team, We are trying to authenticate to Azure AD using a service principal assigned to an application. For this application we have granted it Microsoft Graph Directory Read Only API Permissions access however this does not seem to be working. But when we grant it read permissions to the legacy Azure Active Directory Graph API, it works. Has anyone had a similar issue to this well and do we know when the Microsoft Graph Directory Read Only API support will be available? Thanks in advance
  • m

    miniature-leather-70472

    09/10/2020, 2:29 PM
    Has anyone been able to get the Helm provider working with ACR to deploy helm charts? I get a 401 unauthorized error when trying to run it. I have authenticated using the CLI and the "az acr helm repo add" command before running Pulumi, and can manually work with the repo.
    b
    g
    • 3
    • 6
  • f

    famous-postman-81672

    09/14/2020, 3:32 PM
    Is anyone else having trouble with the Pulumi Azure plugin v3.17.0 or higher or Windows 10 1909? Having no issues with v3.16.0 and below, but anything v.3.17.0 or higher is throwing the following error for other team members and I running `pulumi preview`:
    pulumi😛roviders:azure (default_3_17_0):
    error: could not read plugin [C:\Users\someuser\.pulumi\plugins\resource-azure-v3.17.0\pulumi-resource-azure.exe] stdout: EOF
    g
    • 2
    • 3
  • w

    worried-stone-50514

    09/15/2020, 11:40 PM
    does anyone know if there is a way to not have the Pulumi console display the value of Secrets stored in Key Vault?
    g
    • 2
    • 2
  • r

    rapid-oil-61997

    09/18/2020, 11:12 AM
    Hi Guys. Its good to be here. I am trying out pulumi on Azure now. But i have a question ( I am a newbie to pulumi as well as kind of newbie to c# too ) . I have created a virtual network as below.
    var virtualNetwork = new VirtualNetwork("vNet", new VirtualNetworkArgs
    {
        Location = resourceGroup.Location,
        ResourceGroupName = resourceGroup.Name,
        Tags = tag,
        AddressSpaces = vnetAddressSpace,
        Name = "midhun-poc-pulumi-vnet",
        Subnets =
        {
            new VirtualNetworkSubnetArgs
            {
                Name = "subnet1",
                AddressPrefix = "10.198.10.0/29",
                SecurityGroup = nsg.Id
            },
            new VirtualNetworkSubnetArgs
            {
                Name = "subnet2",
                AddressPrefix = "10.198.10.8/29",
                SecurityGroup = nsg.Id
            }
        }
    });
    when creating network interface as below, how can i refer to the subnet that i created above in this section ?
    var networkInterface = new NetworkInterface("nic", new NetworkInterfaceArgs
    {
        Name = "midhun-poc-pulumi-vm-nic",
        Tags = tag,
        Location = resourceGroup.Location,
        ResourceGroupName = resourceGroup.Name,
        IpConfigurations = new NetworkInterfaceIpConfigurationArgs
        {
            Name = "midhun-poc-pulumi-nic-ip",
            SubnetId = 
        }
    });
    Any help is appreciated. Thanks in advance.
    e
    c
    • 3
    • 2
  • b

    better-rainbow-14549

    09/21/2020, 1:00 PM
    interesting news about the new azure-nextgen provider - will there be a way to migrate to using it without affecting resources?
    t
    • 2
    • 7
  • i

    incalculable-dawn-53071

    09/22/2020, 12:15 PM
    can someone point me in the right direction to add an event hub trigger to an azure function using pulumi? all the examples i can find use
    onEvent
    to register a typescript function that is in the code, but i want to trigger a function that is deployed to from a pipeline.
    t
    • 2
    • 2
  • g

    great-analyst-59265

    09/23/2020, 9:12 AM
    is it possible to store the Azure client secret as an encrypted value in the Pulumi state file?
    b
    • 2
    • 2
  • s

    silly-pager-68915

    09/24/2020, 5:55 AM
    I am trying to use the new Next Generation Pulumi Azure Provider but getting error when trying to import in my script </br>Error: Cannot find module '@pulumi/azure-nextgen' </br> how to import the new modules ??
    t
    • 2
    • 1
  • b

    broad-morning-54433

    09/24/2020, 7:14 AM
    message has been deleted
  • b

    broad-morning-54433

    09/24/2020, 7:45 AM
    So basicly what I’m trying to do is this:
    t
    • 2
    • 3
  • g

    gorgeous-cpu-53034

    09/24/2020, 1:25 PM
    We are looking to Integrate Infrastructure as a code with Web Application . In our case we are using ASP.net core 3.1 mvc app which displays onprem inventory we want to spill up resource in Azure cloud provider using dynamic variable or inputs from data source and provision resources in Azure cloud. Is there why to integrate Pulum with web application
  • w

    wet-noon-14291

    09/28/2020, 7:13 PM
    Is there a migration path to azure nextgen or do you have to "import" the resource if you want to go to azure nextgen from the "old" one?
    t
    • 2
    • 3
  • b

    bright-quill-34162

    09/29/2020, 3:36 PM
    Hello All, just started working with Pulumi. I'm seeing very long timeouts (if ever) on errors when doing "pulumi up" from command line. Is the workflow to ctrl-c, then cancel or should I wait for this to resolve itself?
    w
    • 2
    • 2
  • f

    fierce-megabyte-1177

    09/30/2020, 10:44 AM
    Hey all. I'm testing out pulumi and azure-nextgen for the first time. Creating just some simple resources like PIP and NIC. I can't figure out how to reference the PIP to the NIC without using the resource ID /subscription/xxx-xx/etc. Thought maybe the different resources exported the ID in some way? Any pointers?
    t
    • 2
    • 4
  • b

    bright-quill-34162

    09/30/2020, 7:13 PM
    Where are FunctionApps in Azure NextGen? I want the equivalent of "Pulumi.Azure.AppService.FunctionApp", but I can't find it. In the Azure portal, a "Function App" is under "compute", but it's not there in the API.
    t
    d
    • 3
    • 4
  • b

    bright-quill-34162

    09/30/2020, 8:40 PM
    I think there's a parsing error with any string that contains "/" Here is my code:
    var functionApp0 = new AzureNextGen.Web.Latest.WebAppFunction("AddDeploymentsByIoTHubName", new AzureNextGen.Web.Latest.WebAppFunctionArgs
            {
                FunctionName = "AddDeploymentsByIoTHubName",
                Name = $"c2e-{env}-funcapp-iep/AddDeploymentsByIoTHubName",
                ResourceGroupName = resourceGroup.Name,
            });
    And here is the error, I've tried several different ways to escape that "/"... error: cannot check existence of resource /subscriptions/<subscription>/resourceGroups/c2e-dev-shared-resources/providers/Microsoft.Web/sites/c2e-dev-funcapp-iep*%2F*AddDeploymentsByIoTHubName/functions/AddDeploymentsByIoTHubName: autorest/azure: error response cannot be parsed: "" error: EOF: autorest/azure: error response cannot be parsed: "" error: EOF
    t
    • 2
    • 9
Powered by Linen
Title
b

bright-quill-34162

09/30/2020, 8:40 PM
I think there's a parsing error with any string that contains "/" Here is my code:
var functionApp0 = new AzureNextGen.Web.Latest.WebAppFunction("AddDeploymentsByIoTHubName", new AzureNextGen.Web.Latest.WebAppFunctionArgs
        {
            FunctionName = "AddDeploymentsByIoTHubName",
            Name = $"c2e-{env}-funcapp-iep/AddDeploymentsByIoTHubName",
            ResourceGroupName = resourceGroup.Name,
        });
And here is the error, I've tried several different ways to escape that "/"... error: cannot check existence of resource /subscriptions/<subscription>/resourceGroups/c2e-dev-shared-resources/providers/Microsoft.Web/sites/c2e-dev-funcapp-iep*%2F*AddDeploymentsByIoTHubName/functions/AddDeploymentsByIoTHubName: autorest/azure: error response cannot be parsed: "" error: EOF: autorest/azure: error response cannot be parsed: "" error: EOF
t

tall-librarian-49374

09/30/2020, 8:56 PM
We should add a better validation message but this is not allowed
(name is the web app name in this case)
b

bright-quill-34162

09/30/2020, 9:01 PM
ok, so it will build the full path string later, i'll give that a shot, thanks!
t

tall-librarian-49374

09/30/2020, 9:04 PM
I have no idea what
WebAppFunction
does. Do you know?
I never had to use this resource -
WebApp
itself was always enough.
b

bright-quill-34162

09/30/2020, 9:05 PM
i was hoping it would add an actual function to the function app? In the end, this is not how we build out our function app anyway, but I'm just trying to learn how all these resources relate.
t

tall-librarian-49374

10/01/2020, 6:35 AM
I don’t think it does that. Functions are discovered from
function.json
files that you upload in the code archive.
(or corresponding .NET bindings)
View count: 3