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
getting-started
  • h

    high-piano-3034

    07/20/2022, 2:28 PM
    putting in #general
  • l

    lively-helmet-97905

    07/20/2022, 4:29 PM
    I want to know, how can I get full examples of using Pulumi with AWS using YAML. I want to know all of YAML supported methods or functions to interact with AWS, to create a bucket, a VPC, an EKS cluster and other related aws resources. šŸ™
    b
    • 2
    • 4
  • s

    silly-scientist-20604

    07/20/2022, 9:17 PM
    I am trying to wrap my head around outputs and stack references and using
    .apply(lambda x: x)
    with Pulumi/Python, but am having difficulty really understanding it. Is there a good white paper that explains it all clearly?
    e
    • 2
    • 1
  • i

    icy-controller-6092

    07/20/2022, 10:04 PM
    Hello, I have a gnarly circular dependency I’m trying to break … Api Key -> Api Gateway -> Lambda -> (env var) -> Api Key anyone know how I can solve this? can i add an environment variable to the lambda after all the initial wiring?
    l
    • 2
    • 2
  • s

    silly-scientist-20604

    07/20/2022, 10:36 PM
    Why does this work?
    cluster_user_name = pulumi.Output.all(mdba_cluster_name).apply( lambda x: x )
    pulumi.export( "cluster_user_name", cluster_user_name )
    But this:
    cluster_user_name = pulumi.Output.all(mdba_cluster_name).apply( lambda x: str( x + "foo" ) )
    pulumi.export( "cluster_user_name", cluster_user_name )
  • e

    enough-portugal-51201

    07/21/2022, 12:13 PM
    Hello, just joined, great community! Have a newbee question - I am evaluating using pulumi to create a cloud environment on demand. I am writing a service using go, and trying to design a way to run a pulumi code from within my service so I can trigger the run, monitor it sate and when it finishes I can get a status result and continue with my logic. My question is there a supported way to run the pulumi piece of code no only from the CLI but from within go code? Ans how the deployment of pulumi service should look like?
    l
    • 2
    • 2
  • w

    witty-vegetable-61961

    07/22/2022, 1:31 PM
    hi all I am getting this error in Pulumi: error: Duplicate resource URN 'urnšŸ˜›ulumi:dev::KillerGaming.Pulumi.AuthZero::auth0:index/client:Client::KillerGaming Server Automation API HealthUI'; try giving it a unique name However, I have deleted everything I created and made a new stack, which is empty. How can I fix this error?
    b
    • 2
    • 4
  • f

    future-exabyte-15821

    07/22/2022, 7:21 PM
    Hi, I’m defining all providers dynamically. On our local laptops we want to utilise AWS Profiles (via SSO). In our CI/CD pipeline (thinking about using the Kubernetes Operator for GitOps) we want to use role assumption. Anyone got any pointers in how to make the difference in a good way? Because I think all the provider settings are always stored in the state and it would mean it the state would always ā€œbounceā€ between profile and a role arn which would pollute the activity
    v
    l
    • 3
    • 3
  • c

    calm-iron-40008

    07/24/2022, 11:27 PM
    Hoping for some guidance here… The directory structure and tsconfig in… https://github.com/pulumi/examples/tree/master/testing-unit-ts/mocha indicate that you can use multiple typescript files in a pulumi project. I’m trying to separate infrastructure from deployments (kubernetes), but I cannot get pulumi to identify ANY other typescript/js files in the directory. They are explicitly defined in the tsconfig… Any guidance?
    b
    • 2
    • 8
  • q

    quaint-flower-38395

    07/25/2022, 2:48 AM
    Hi, I've searched the pulumi.com docs and knowledgebase, the Youtube pulumiTV channel, and also the various slack channels before posting here. I'm trying to use the cloudflare provider with just straight yaml, and there don't appear to be any examples or guides available for this. I found a few for the other languages like Go, Python, etc. but none for straight yaml. Can anyone point me to a resource if such exists?
    • 1
    • 1
  • i

    icy-pilot-31118

    07/25/2022, 2:26 PM
    How can I create an EKS fargate cluster using pulumi? I know how to create an EKS cluster:
    # Create an EKS cluster with the default configuration.
    cluster = eks.Cluster(
        "theia-prod",
        eks.ClusterArgs(),
    )
    However, how do I specify for it to use fargate?
    āœ… 1
    b
    • 2
    • 1
  • s

    steep-apple-98525

    07/27/2022, 7:35 PM
    Hi everyone. I’m trying to setup ElasticBeanstalk infra with pulumi. Where can i find a docs about available values for https://www.pulumi.com/registry/packages/aws/api-docs/elasticbeanstalk/environment/#environmentsetting ? or maybe some tutorial that can help
    b
    • 2
    • 2
  • s

    steep-apple-98525

    07/27/2022, 7:36 PM
    I don’t see any #kotlin channel in herešŸ˜’miling_face_with_tear:
    b
    • 2
    • 1
  • r

    rhythmic-branch-12845

    07/29/2022, 11:29 AM
    is Pulumi ready for prime time? I just tried creating an EC2 instance using Pulumi -> works. Now I terminate the instance within the AWS console. I expect that when I run
    pulumi up
    , pulumi will detect the difference and attempt to create another instance. Instead it keeps thinking and saying that nothing has changed? (this is on the latest version of Pulumi, v3.37.1, btw)
    c
    e
    • 3
    • 4
  • l

    lively-table-10226

    07/29/2022, 1:10 PM
    Hi, I am trying to convert pulumi.StringOutput to string. Can anyone help?
    e
    • 2
    • 2
  • w

    wet-fall-57893

    08/01/2022, 7:05 AM
    What
    refresh
    flag in preview/up command really do? If there is a drift for example the resource is gone from reality but it’s still in state file, will Pulumi remove it when calling with
    refresh
    ?
    šŸ‘ 1
    • 1
    • 1
  • f

    few-lizard-48557

    08/01/2022, 10:29 AM
    Hello all, I am new to Pulumi and we are planning to migrate our application from a private cloud to Microsoft Azure. So far we have always worked with Azure CLI or directly in Azure Portal for the purpose of validation and proof of concept. We would like to deploy the resources using Pulumi and therefore I have started installing Pulumi and going through the Getting Started section of the doc (Azure, TypeScript). The problem I am having occurs in the context of
    pulumi up
    . When I run the command, more or less nothing is done. That means the processing time is about 10secs and the only thing I get is a headline
    Previewing update (appservice-test):
    without any content and afterwards a further headline
    Resources:
    also without any content. A screenshot of the terminal window in VSCode is attached... The behavior accours which each pulumi example code which I tested. A call to
    pulumi up --logtostderr -v=9 --debug 2> out.txt
    shows the following error text in out.txt: I0801 10:36:55.680367 14836 host.go:486] Error closing 'nodejs' language plugin during shutdown; ignoring: 1 error occurred: TerminateProcess: Access is denied. (see attachment for full ou.txt file) A colleague of mine who works at another site has the identical error behavior. I hope someone of aou can help use - thanks in advance for your support!
    out.txt
    l
    • 2
    • 16
  • h

    high-school-89337

    08/02/2022, 9:02 AM
    Hello, I just created a new Pulumi project (pulumi new kubernetes-java). When trying to compile the project, intellij says com.pulumi.kubernetes.apps_v1 does not exist. Do you know why I can't download those dependencies?
    f
    • 2
    • 3
  • f

    full-zebra-67293

    08/02/2022, 9:17 AM
    Hello all, I am new to Pulumi can u pls share me any documents for integrations.
  • b

    breezy-laptop-42679

    08/02/2022, 9:18 AM
    @full-zebra-67293 what kind of integrations are you looking for
  • f

    full-zebra-67293

    08/02/2022, 9:19 AM
    New relic, Splunk, app dynamics,Jenkins,k8s
  • b

    breezy-laptop-42679

    08/02/2022, 9:19 AM
    ok please wait
  • b

    breezy-laptop-42679

    08/02/2022, 9:20 AM
    and which cloud
  • b

    breezy-laptop-42679

    08/02/2022, 9:21 AM
    @full-zebra-67293 for which cloud do you want it
  • f

    full-zebra-67293

    08/02/2022, 9:21 AM
    AWS Azure and GCP..
  • b

    breezy-laptop-42679

    08/02/2022, 9:22 AM
    https://www.pulumi.com/docs/guides/continuous-delivery/jenkins/
  • b

    breezy-laptop-42679

    08/02/2022, 9:23 AM
    for splunk : https://www.pulumi.com/registry/packages/splunk/
  • b

    breezy-laptop-42679

    08/02/2022, 9:23 AM
    for app dynamics
  • b

    breezy-laptop-42679

    08/02/2022, 9:23 AM
    https://www.pulumi.com/docs/intro/concepts/resources/dynamic-providers/
  • b

    breezy-laptop-42679

    08/02/2022, 9:24 AM
    for k8s : https://www.pulumi.com/docs/get-started/kubernetes/
Powered by Linen
Title
b

breezy-laptop-42679

08/02/2022, 9:24 AM
for k8s : https://www.pulumi.com/docs/get-started/kubernetes/
View count: 3