https://pulumi.com logo
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
general
  • s

    shy-football-10348

    12/04/2020, 5:11 PM
    it should just be
    https://<url>/api/v3/repos/security/jupyterhub.git/hooks
  • s

    shy-football-10348

    12/04/2020, 5:16 PM
    looks like that would be
    owner
    env variable… woops
  • s

    shy-football-10348

    12/04/2020, 5:16 PM
    config*
  • s

    shy-football-10348

    12/04/2020, 5:21 PM
    tried setting that and organization to security and got the same thing 😞
  • b

    billowy-laptop-45963

    12/04/2020, 6:22 PM
    In terms of doing updates, are there any situations when cloudformation does it better? For example many RDS updates(such as storage updates) can be done online without downtime with cloudformation. Are there situations where pulumi would require downtime vs cloudformation?
  • c

    creamy-engine-1851

    12/05/2020, 2:40 PM
    Hello, I have a question on how to reason about Github repositories between stacks, lets say I have a dev and prod environment. A Github repo should only be created once, but I want to use the github repositories to setup build pipelines on both environments.. Is there any handy way to share the github repo resource, but it's only create if it doesn't exist already?
    k
    b
    • 3
    • 4
  • f

    fast-night-71691

    12/07/2020, 1:24 PM
    @tall-librarian-49374 Your recent blog post on using container image on AWS lambda with API gateway is great! I would like to know , how I can configure the API gateway in Pulumi to serve a stateless html web application running in a container deployed as a function in AWS Lambda.? i.e. Instead of a json response at the api gateway endpoint, I want to configure the following
    "statusCode": 200,
    "body":"html",
    "headers": {"Content-Type": "text/html"}
    . How to use pulumi's AWS API gateway functions that can serve html response from the container image in AWS Lambda ? . It would be great if you could kindly share the approach with the typescript sample code so that we can try it out in our company. Thank you in advance.
    t
    • 2
    • 2
  • a

    astonishing-monitor-96741

    12/07/2020, 4:34 PM
    Updated to the latest and now I'm getting this error. Appears to maybe related to the fact my repo is on the d: drive. Anyone else have this issue? I killed my credential file all together and reauthenticated, that didn't fix it.
    b
    • 2
    • 7
  • m

    modern-librarian-67580

    12/07/2020, 5:00 PM
    Hello Pulumi team! I was reviewing the Lambda event sources and I noticed that MSK was missing from the list. Is support for this planned?
    👀 1
    f
    e
    t
    • 4
    • 5
  • b

    billowy-laptop-45963

    12/07/2020, 8:39 PM
    If I have a repo
  • f

    fierce-ability-58936

    12/07/2020, 8:46 PM
    Hi all! Sorry, might be a stupid question but I’m struggling to find the answer in the documentation. Tried to check the source code as well for some examples. I am trying to create a custom component in Python. The doc https://www.pulumi.com/docs/intro/concepts/programming-model/#registering-component-outputs tells us to use
    self.register_outputs({
        bucketDnsName: bucket.bucketDomainName
    })
    Which doesn’t work - if it’s a dict, then it should be
    "bucketDnsName": bucket.bucketDomainName
    and then it should presumably register the output property named “buckerDnsName”? But when I try to use it as
    resource.bucketDnsName
    it doesn’t work and complains about “AttributeError”. Should I DIY it like
    self.bucketDnsName = bucket.bucketDomainName
    after self.register_outputs call?
  • g

    gifted-vase-28337

    12/08/2020, 6:07 PM
    Is there a way to delete a resource from the stack without deleting the cloud resource? Use case: we're importing resources from another account. We can add them to the stack, but we have read-only access in that other account, so we can't delete the resources, nor do we want to. This means that
    pulumi destroy
    consistently fails, which disrupts the developer workflow. We tried
    protect=True
    , but that yields another error on
    destroy
    .
    ✅ 1
    b
    g
    • 3
    • 20
  • s

    straight-librarian-43739

    12/08/2020, 6:55 PM
    Hi. I am encountering this issue and am wondering if there’s a workaround https://github.com/pulumi/pulumi-awsx/issues/540
    b
    • 2
    • 6
  • d

    delightful-xylophone-3967

    12/08/2020, 7:36 PM
    Hello, could anyone please post a code snippet, how to subscribe to an Azure EventGrid SystemTopic? I would like to listen on connection-change events from a serverless SignalR Service, but I can't figure out, how to do it with the c# pulumi Azure provider.
    • 1
    • 1
  • e

    early-glass-64522

    12/08/2020, 9:13 PM
    I see the page on unit testing pulumi code (https://www.pulumi.com/docs/guides/testing/unit/). But what is the real value add of doing this?
    l
    • 2
    • 7
  • f

    fierce-grass-63054

    12/09/2020, 2:24 AM
    Hi there! Does any know how
    pulumi github app
    determines whether a status should be reported? I have my
    pulumi preview
    runs in CI and has every necessary environment variables I thought the integration required (
    <http://ci.pr|ci.pr>.number=${github_pr_id}
    and
    ci.build.type=pull_request
    , etc.) , but still cannot get the preview comment and status check update in the Pull Request. Any idea would be highly appreciated🙏
    • 1
    • 2
  • i

    incalculable-dawn-53071

    12/09/2020, 9:13 AM
    Hi there. I have a problem where
    pulumi stack output
    and other related commands hangs indefinitely. I've tried all the troubleshooting steps recommended on the website but I've had no joy. Can anyone suggest what I should do next?
  • m

    modern-napkin-96707

    12/09/2020, 10:17 AM
    Hiya, is there an easy way to get the full urn of a resource in my stack? I have a running Cloud Run service in GCP and just want to force pulumi to replace it with a new image. Having to specify the full urn with --replace seems overly complicated.
    c
    • 2
    • 17
  • f

    full-dress-10026

    12/09/2020, 6:34 PM
    In pulumi/aws 3.16.0,
    aws.eks.NodeGroup
    accepts
    instanceTypes
    as a
    pulumi.Input<string>
    . In 3.17.0, a breaking change was made to switch to
    pulumi.Input<pulumi.Input<string>[]>
    . This results in Pulumi thinking it needs to replace the aws:eks:NodeGroup resource. This is not an acceptable solution. A replacement would result in deleting the node group and then re-creating it, taking the service completely offline. I don't understand how we're supposed to be update to 3.17.0+ with this issue. Are there any solutions to this?
    b
    • 2
    • 14
  • t

    tall-jackal-67163

    12/10/2020, 5:55 AM
    what is the equivalent of terraform "data" in pulumi if I need to create a custom one ? I need to get information from a REST API
    b
    • 2
    • 3
  • w

    wet-sunset-4939

    12/10/2020, 7:19 AM
    Hi All, I have an existing ASK running on Azure. I would like to import all resources, deployments from AKS to Pulumi. How could we do that?
    w
    • 2
    • 1
  • i

    incalculable-dawn-53071

    12/10/2020, 10:49 AM
    no responses to this https://pulumi-community.slack.com/archives/C84L4E3N1/p1607505225233400 - is there some other way i should ask for help?
    w
    • 2
    • 1
  • i

    incalculable-dawn-53071

    12/10/2020, 10:50 AM
    the website is very keen for me to use slack
  • a

    average-dinner-84543

    12/10/2020, 3:43 PM
    Hi everybody, hello @echoing-match-29901 . I am doing several unit test for many components, but when I come to the EKS module, it keeps waiting for cluster endpoint ....
    info: [runtime] Waiting for cluster endpoint (1) ...
    info: [runtime] Waiting for cluster endpoint (30)
    info: [runtime] Waiting for cluster endpoint (31)
    info: [runtime] Waiting for cluster endpoint (32) ...
  • a

    average-dinner-84543

    12/10/2020, 3:44 PM
    ...until a final timeout several minutes after. Some idea where to have a look at it in any example?
  • a

    average-dinner-84543

    12/10/2020, 3:49 PM
    nevertheless to say, the unit test are finishing fine (all mocha steps completed) but in the background, that runtime message is never ending to a final state.
  • e

    elegant-island-39916

    12/10/2020, 5:03 PM
    Hi, I am having trouble getting pulumi to deploy a helm chart from the docs, with the following error:
    Exception: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to load chart from temp directory: stat /tmp/helm955727359/kubernetes: no such file or directory
    docs: https://www.pulumi.com/blog/kubernetes-ingress-with-aws-alb-ingress-controller-and-pulumi-crosswalk/ helm chart definition (Python):
    helm.Chart(
        "alb",
        config=helm.ChartOpts(
            chart="<http://storage.googleapis.com/kubernetes-charts-incubator/aws-alb-ingress-controller-0.1.9.tgz>",
            # <https://github.com/aws/eks-charts/blob/master/stable/aws-load-balancer-controller/values.yaml>
            values={
                "clusterName": cluster.name,
                "autoDiscoverAwsRegion": "true",
                "autoDiscoverAwsVpcID": "true",
            },
        ),
        opts=ResourceOptions(provider=cluster.provider),
    )
    I must be doing something wrong, but unsure what it is. Does anyone have any insight?
    ✅ 1
    b
    • 2
    • 9
  • e

    early-glass-64522

    12/10/2020, 11:17 PM
    Pulumi team - is there a community channel where we can post job opportunities?
    b
    w
    • 3
    • 2
  • t

    tall-needle-56640

    12/11/2020, 12:17 AM
    pulumi up
    is failing part of the time. If I rerun 1 or 2 more times, it eventually gets created. Here are some of the logs from `pulumi up -y --skip-preview -v=3 --logtostderr`:
    om=False, remote=False
    I1210 16:50:54.282491 2892 eventsink.go:59] Invoking function: token=azure-nextgen:resources/latest:getResourceGroup async + pulumi😛ulumi:Stack AppServiceWebApp-aswadev creating. 'dotnet build -nologo .' completed successfully
    I1210 16:50:54.290488 2892 eventsink.go:59] Invoke RPC prepared: token=azure-nextgen:resources/latest:getResourceGroup
    I1210 16:50:54.312492 2892 eventsink.go:59] Prepared resource: t=pulumi😛ulumi:Stack, name=AppServiceWebApp-aswadev, custom=False, remote=False
    Type Name Status Info
    + pulumi😛ulumi:Stack AppServiceWebApp-aswadev creating... 'dotnet build -nologo
    + ├─ azure-nextgen:web/v20180201:WebApp siteResource creating failed error: autorest/az
    + ├─ azure-nextgen:insights/v20150501:Component componentResource created
    + └─ azure-nextgen:web/v20180201:AppServicePlan serverfarmResource creating..
    I1210 16:51:04.550530 2892 eventsink.go:59] Fields to assign: ["type","ingestionMode","provisioningState","hockeyAppId","retentionInDays","tags","appId","samplingPercentage","flowType","kind","id","immediatePurgeDataOn30Days","requestSource","urn","disableIpMasking","tenantId","instrumentationKey","name","creationDate","applicationType","connectionString","privateLinkScopedResources","hockeyAppToken","applicationId","location"]
    + pulumi😛ulumi:Stack AppServiceWebApp-aswadev creating... error: update failed
    =componentResource, custom=True, remote=False
    I1210 16:51:04.564534 2892 eventsink.go:59] Preparing resource: t=azure-nextgen:insights/v20150501:Component, name=compone + └─ azure-nextgen:web/v20180201:AppServicePlan serverfarmResource created
    I1210 16:51:08.469863 2892 eventsink.go:59] Fields to assign: ["type","provisioningState","tags","isSpot","reserved","sku","kind","freeOfferExpirationTime","id","numberOfSites","hostingEnvironmentProfile","geoRegion","perSiteScaling","workerTierName","maximumElasticWorkerCount","status","maximumNumberOfWorkers","spotExpirationTime","targetWorkerCount","urn","targetWorkerSizeId","isXenon","name","subscription","resourceGroup","hyperV","location"]
    I1210 16:51:08.474858 2892 eventsink.go:59] Registering resource start: t=azure-nextgen:web/v20180201:AppServicePlan, name=serverfarmResource, custom=True, remote=False
    I1210 16:51:08.481877 2892 eventsink.go:59] Preparing resource: t=azure-nextgen:web/v20180201:AppServicePlan, name=serverfarmResource, custom=True, remote=False
    I1210 16:51:08.502875 2892 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = grpc: + pulumi😛ulumi:Stack AppServiceWebApp-aswadev creating failed 1 error
    + ├─ azure-nextgen:web/v20180201:WebApp siteResource creating failed 1 error
    * TerminateProcess: Access is denied.
    Diagnostics:
    azure-nextgen:web/v20180201:WebApp (siteResource):
    error: autorest/azure: Service returned an error. Status=<nil> <nil>
    pulumi😛ulumi:Stack (AppServiceWebApp-aswadev):
    error: update failed
    s
    • 2
    • 3
  • p

    prehistoric-nail-50687

    12/11/2020, 11:45 AM
    Is there any way to tell pulumi to ignore errors because it can’t find a resource which should be deleted? e.g. it was deleted manually
    t
    q
    • 3
    • 4
Powered by Linen
Title
p

prehistoric-nail-50687

12/11/2020, 11:45 AM
Is there any way to tell pulumi to ignore errors because it can’t find a resource which should be deleted? e.g. it was deleted manually
t

thousands-camera-45384

12/11/2020, 11:46 AM
maybe state refresh will help OR you can manually edit state and remove deleted resource
q

quiet-restaurant-29133

12/11/2020, 11:52 AM
you’d to delete it from state
pulumi state delete <urn>
p

prehistoric-nail-50687

12/11/2020, 11:53 AM
ah, did not know I can delete a single urn without export/import thanks 👍
😊 1
View count: 1