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
  • a

    ambitious-crayon-56788

    01/29/2020, 9:16 AM
    Hi. I wish to create a consumption API Management service using Pulumi, but from the looks of the docs it's not available. In fact, the word 'consumption' does not appear in the API Management docs at all.
    ...valid values include: 
    Developer
    , 
    Basic
    , 
    Standard
     and 
    Premium
    .
    I tried the obvious -
    const apiManagementService = new azure.apimanagement.Service("apiManagementService", {
    	name: "my-apim-service",
    	resourceGroupName: resourceGroup.name,
    	publisherEmail: "<mailto:publisher@email.com|publisher@email.com>",
    	publisherName: "Publisher Corp.",
    	skuName: "Consumption_1"
    });
    ...but this resulted in an error -
    error: azure:apimanagement/service:Service resource 'apiManagementService' has a problem: expected sku_name to be one of [Developer Basic Standard Premium], got Consumption
    The consumption tier has been GA for around a year now, so if it's truly not supported, is it on the road map for the near future? • Documentation: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/azure/apimanagement/#Service-skuName
    b
    a
    t
    • 4
    • 6
  • a

    ambitious-crayon-56788

    01/31/2020, 12:24 PM
    Hey all. I've just swapped from using
    ArchiveFunctionApp
    to a standard
    FunctionApp
    (I'm going to use Azure DevOps to push code to the Function App. However, the
    FunctionApp
    resource does not have the
    endpoint
    property, so I can't access the Function App URL. I've found that the
    getEndpoint()
    function is used when setting the
    endpoint
    property, but it doesn't seem to be publically accessible from index.js. Is there any way I can get the URL of my
    FunctionApp
    resource? •
    getEndpoint()
    function: https://github.com/pulumi/pulumi-azure/blob/609a1f52aff8a65573ebd3626de9b128753ee179/sdk/nodejs/appservice/zMixins.ts#L632
    p
    t
    • 3
    • 11
  • d

    delightful-truck-1268

    01/31/2020, 4:54 PM
    I just joined a new team and need to automate some of their cloud infrastructure provisioning. I'm new to Pulumi but have some experience with Terraform. We have a nodejs app to stand up in App Services. Should I just use Pulumi for the infrastructure piece and do the code deployment with something else?
  • d

    delightful-truck-1268

    01/31/2020, 4:55 PM
    I feel stupid asking that question because to me its obvious that I should keep them separate but wanted to make sure I'm not missing anything
    b
    t
    +2
    • 5
    • 20
  • m

    melodic-byte-32771

    02/01/2020, 3:47 PM
    Hello everybody, how can I tell pulumi to check the md5 hashsum of my file for a blob storage. The problem currently is that it is not recognizing that a file changed. Cheers and thanks!
    n
    • 2
    • 2
  • t

    tall-librarian-49374

    02/01/2020, 9:41 PM
    It should… Could you show a snippet of your code?
    m
    c
    c
    • 4
    • 32
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:09 AM
    Hi all,
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:10 AM
    I have a pulumi deployment project for which I copy over the json from the Logic App using a prebuild command on the deployment project as shown below
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:10 AM
    xcopy "$(ProjectDir)..\ProcessMails\LogicApp.json" "$(ProjectDir)..\matchnetv2deploy\LogicApp.json*" /E/Y
    c
    • 2
    • 1
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:10 AM
    In the build pipeline it gets copied correctly to the artifacts directory
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:10 AM
    but the release pipeline throws an error
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:11 AM
    Does the pulumi task rebuild the deployment project?
    c
    t
    • 3
    • 2
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:12 AM
    Untitled
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:12 AM
    Any help would be appreciated
  • r

    rhythmic-vegetable-87369

    02/04/2020, 6:15 AM
  • i

    important-kite-57211

    02/04/2020, 6:33 AM
    question about logic apps: how can i specify the "runAfter" in a ActionHttp (calling an Azure Function)? It seems that if I am using ActionHttp I cannot chain calls together. I had to use ActionCustom to be able to chain calls together
  • a

    adventurous-garage-59192

    02/05/2020, 1:48 AM
    https://github.com/terraform-providers/terraform-provider-azurerm/issues/5608 Are we gonna be getting a release with these beta features enabled?
    b
    • 2
    • 1
  • a

    average-portugal-80684

    02/07/2020, 3:18 PM
    Just getting started with this stuff: I'm using typescript. I've figured out how to authenticate to Azure using a ServicePrincipal that I created myself. Now I'd like to automate the creation of a ServicePrincipal and give it the built in "Contributor" role on a Subscription. I can create the Application, ServicePrincipal and set the password - but how do I assign it the Contributor role on a Subscription?
    t
    • 2
    • 2
  • w

    wet-noon-14291

    02/08/2020, 10:50 PM
    Just started playing around with pulumi just to learn something new that I might be able to bring to the new job I'll start in a couple of months.
  • w

    wet-noon-14291

    02/08/2020, 10:53 PM
    I'm working on a sample application in F# that I want to over engineer the hell out to learn me some new things. The plan is to use pulumi to handle the deployment. What I do want to deploy is the F# application I'm building on a kubernetes cluster that runs istio. The pulumi stuff will also be written in F#. So far I have ported a C# sample that sets up kubernetes that I was pointed to, but for some reason my deploy fails to create the active directory application due to "Insufficient privileges to complete the operation". Complete error
    error: graphrbac.ApplicationsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="Unknown" Message="Unknown service error" Details=[{"odata.error":{"code":"Authorization_RequestDenied","date":"2020-02-08T22:35:51","message":{"lang":"en","value":"Insufficient privileges to complete the operation."},"requestId":"b8e3bf38-925b-4898-9d14-fc101c14e5c4"}}]
    e
    c
    t
    • 4
    • 20
  • d

    delightful-truck-1268

    02/12/2020, 5:00 PM
    I'm looking to configure a CDN endpoint with entries for the Rules Engine. I found docs on creating profiles and endpoints, but nothing about configuring Rules Engine
    c
    t
    • 3
    • 9
  • d

    delightful-truck-1268

    02/13/2020, 6:53 PM
    I'm attempting to destroy an app service plan and am getting an unclear error. Is the only way around this to delete it in Azure's portal?
    g
    • 2
    • 2
  • d

    delightful-truck-1268

    02/14/2020, 6:18 PM
    I would like to create a new endpoint route to a service bus topic using
    azure.iot.EndpointServicebusTopic
    . I'm having trouble understanding how to construct the
    connectionString
    value. I tried using defaultPrimaryConnectionString but I got an error
    The Topic connection string is missing 'EntityPath'
    which makes sense. Not sure what to do from here
    t
    • 2
    • 1
  • m

    millions-beach-85282

    02/17/2020, 4:37 PM
    message has been deleted
    p
    • 2
    • 14
  • s

    sticky-lighter-73941

    02/18/2020, 2:42 PM
    Guys , I’m having an issue with an AKS cluster . We have AzureAd enable and every time we try to do an Pulumi operation I got an authentication request . For some reason the request gets stuck even if I do the authentication . Any idea how to solve this ?
    • 1
    • 1
  • m

    millions-beach-85282

    02/18/2020, 3:47 PM
    It appears with Cloudflare CNAME (record) propagation that if one creates a cloudflare record prior to creating a custom host binding on an app service that the custom host binding initially fails in that there is no CNAME record pointing to it. Repeated runs will then succeed presumedly after propagation has occurred. Is anyone aware of a good solution to this?
  • e

    elegant-balloon-59607

    02/18/2020, 4:03 PM
    Hey! Would like to know what's the best way to share information between multiple stacks. In my
    dev
    stack I create a CosmosDB, get the connection string, and then create a new AppService using the connection string. Then in my
    tests
    stack I would like to create a new AppService (in a different resource group but same subscription) and also reference the CosmosDB connection string from
    dev
    . Here's a beautiful drawing showing it. :D
    b
    g
    • 3
    • 13
  • b

    better-rainbow-14549

    02/19/2020, 1:12 PM
    does anybody know if there are any intrinsic limiting factors for deploying large pulumi deployments on azure? we seem to hit some sort of API request throttling refreshing/updating stacks with ~150 resources in where they're definitely not CPU bound from the pulumi process. is there anything obvious we can ask azure to increase limits on to make things progress a little quicker?
  • b

    better-rainbow-14549

    02/19/2020, 1:13 PM
    Resources: + 118 created 710 unchanged Duration: 9m58s
    t
    g
    • 3
    • 6
  • a

    abundant-librarian-94137

    02/19/2020, 5:22 PM
    hi, Someone knows how can I create a site recovery plan [Recovery Plans (Site Recovery) ] on azure with pulumi? i do not find it in documentation.
Powered by Linen
Title
a

abundant-librarian-94137

02/19/2020, 5:22 PM
hi, Someone knows how can I create a site recovery plan [Recovery Plans (Site Recovery) ] on azure with pulumi? i do not find it in documentation.
View count: 3