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

    enough-animal-75031

    03/03/2022, 4:50 AM
    Is there any common way of dealing with Github actions and different environments? E.g. would like a simple way to press a button that will do a
    pulumi up
    into different environments, so for example: • Merge commit into
    dev
    , it does a
    pulumi up
    with the
    dev
    stack • Changes are working, press a button to use same changes in
    uat
    p
    g
    • 3
    • 2
  • e

    enough-animal-75031

    03/03/2022, 4:50 AM
    There was some functionality that took care of this in Circle Ci but would like to avoid an extra product, can you achieve something like this with Pulumi and Github Actions?
  • b

    better-forest-70644

    03/03/2022, 8:43 AM
    Is PostgreSQL Flexible Server is available in the Azure Native ?
    g
    • 2
    • 1
  • f

    famous-art-56985

    03/03/2022, 12:47 PM
    Pulumi does not seem to allow me to access config values for the provider programmatically. For example if I write:
    config.get('gcp:project')
    p
    • 2
    • 5
  • f

    famous-art-56985

    03/03/2022, 12:48 PM
    This fails since it looks up
    my-project:gcp:project
  • f

    famous-art-56985

    03/03/2022, 12:48 PM
    is there any way I can get at the root configured value for my gcp provider? Otherwise I have to define the same config value redundantly which is annoying
  • f

    famous-art-56985

    03/03/2022, 12:49 PM
    I tried
    new gcp.Provider().name
    but that has type
    Output<string | undefined>
    I suppose I can call
    .get()
    and freak out if undefined but seems like a real dance to get a config value that is in the yaml file
  • p

    prehistoric-activity-61023

    03/03/2022, 12:52 PM
    @famous-art-56985 answered in a thread above. I encourage you to use threads in Slack. It helps navigating across the different issues on some more active channels 🙂.
    f
    • 2
    • 4
  • h

    helpful-account-44059

    03/03/2022, 3:31 PM
    Hi, i'm already known how to peering two aws vpc at the same region with pulumi, is it possiable to peering the vpc's belongs to different aws region with pulumi? is there an example ?
    g
    • 2
    • 1
  • b

    billowy-army-68599

    03/03/2022, 3:51 PM
    taking advantage of my community moderator powers to cross post this job from #jobs 😄 (please keep jobs inside the jobs channel folks 😉 ) https://pulumi-community.slack.com/archives/C01HEMG55T2/p1646322639268039
  • m

    mammoth-art-6111

    03/03/2022, 4:27 PM
    anyone know if it's possible to target an import? i.e. run a pulumi up -t
    not-yet-in-pulumi-but-in-code-resource
    e
    • 2
    • 8
  • s

    stocky-wire-60053

    03/03/2022, 5:07 PM
    Is anyone aware of pre-built solutions for common architectures using Pulumi?
    q
    s
    • 3
    • 5
  • q

    quick-airport-30353

    03/03/2022, 5:11 PM
    👋 Hi everyone! Is anyone aware that in powershell in Windows, the Python venv has issues running docker and docker build?
    g
    • 2
    • 1
  • f

    famous-art-56985

    03/03/2022, 5:16 PM
    The documentation (https://www.pulumi.com/docs/intro/concepts/secrets/) lead me to believe that
    config.requireSecret('my-secret')
    would create a non-existing secret automatically in the stack config, however if I do this I get a error that the configuration value is missing. Do I need to manually add a secret before using or is there a way to have them generated programattically when missing?
    q
    e
    • 3
    • 3
  • m

    mysterious-city-83058

    03/03/2022, 5:35 PM
    Has anyone tried to create secrets in Azure Key Vault using a for loop? Basically, I am trying to iterate through a dictionary with all the secrets I want available in the vault. Pulumi returns errors regarding accessing the vault concurrently, but the secrets seem to get created. Anyone tried this?
    g
    • 2
    • 2
  • m

    millions-furniture-75402

    03/03/2022, 6:19 PM
    I assume the "Business Critical" price is going to be higher than Enterprise? https://www.pulumi.com/blog/business-critical-launch/
    g
    • 2
    • 4
  • f

    future-window-78560

    03/03/2022, 7:12 PM
    Hey Developers! Is there any guide for adding pre-defined roles to GCP using Pulumi?
    g
    • 2
    • 3
  • n

    nutritious-battery-42762

    03/03/2022, 10:27 PM
    Hi, is it possible to set a secret from a file? I have a json with some secrets but they have a bunch of newline characters so
    pulumi config set --secret
    doesn't work with it
    l
    • 2
    • 1
  • w

    white-airport-78661

    03/04/2022, 3:47 AM
    What’s the place to report bugs? https://www.pulumi.com/registry/packages/aws/api-docs/cloudfront/distribution/#state_isipv6enabled_nodejs This flag isn’t about “Origin Shield is enabled” it’s for the distribution itself. Didn’t understand why I created disabled CF distributions…🙄
    b
    • 2
    • 1
  • v

    victorious-wall-1075

    03/04/2022, 6:08 AM
    How do I force helm.v3 to use a custom kube-config location without using global env variables? In my case, I have multiple k8 clusters (and hence multiple kube configs that are kept in different folders). When I launch helm, I’d like to point it to a specific cluster’s kube config. This is what my code looks like:
    # Deploy the bitnami/wordpress chart.
    edgeChart = Release(
        "lilac-edge",
        ReleaseArgs(
            chart="./lilac-edge",
            version="0.1.0",
            namespace="lilac-edge",
            values=values,
            timeout=600
        ),
    )
    This works as long as ~/.kube/cofig is setup OR set the KUBECONFIG env variable is set. I will be unable to do either of the above as my code is running inside flask application (actually flask + celery) and the specific cluster is chose based on the input received. Is there a way to set the kube config location at the per pulumi stack level ? can we setup ENV variables on a per stack basis?
    b
    • 2
    • 6
  • d

    dry-answer-66872

    03/04/2022, 6:47 AM
    Hi Team Is it possible to update the existing KMS key policy using Pulumi?
    e
    • 2
    • 1
  • r

    rapid-ambulance-88914

    03/04/2022, 7:20 AM
    👋 Hi everyone! I Need resources for testing with python. Thanks in advance :)
    e
    • 2
    • 2
  • f

    famous-art-56985

    03/04/2022, 1:15 PM
    Is it possible to lookup a kubernetes service by an annotation tag rather than by exact name?
    q
    • 2
    • 2
  • m

    magnificent-lifeguard-15082

    03/04/2022, 5:41 PM
    How are people uploading static sites [to s3 but pretty general problem] via pulumi which don't end up costing.. thousands of credits because the documented examples all use a BucketObject resource per file? I'm hoping someone has shared some component resource which does an s3 sync under the hood.
    q
    b
    +3
    • 6
    • 13
  • m

    melodic-car-16900

    03/04/2022, 8:19 PM
    @flat-salesclerk-13714 for us at least, we use pulumi to ensure the buckets etc exist, but then use a separate script / step to actually do the uploading.
    pulumi up --cwd ./infrastructure/static-assets
    ...
    ./deploy-static-assets.sh
    f
    h
    • 3
    • 2
  • q

    quick-airport-30353

    03/04/2022, 9:17 PM
    I'm using pulumi w/ Python and I'm trying to create an API gateway endpoint for my lambdas (in containers). I was using
    aws.apigatewayv2
    and followed the examples found on the Pulumi website. The Lambdas and API Gateway resources are provisioned along with the stage but the lambdas are not bound to the API Gateway resources I specified. Is there something I'm doing wrong?
    g
    • 2
    • 10
  • a

    adorable-gpu-98268

    03/05/2022, 11:56 AM
    Hi, I see that the
    @pulumi/docker
    package can be used to build docker images and then push them to e.g. an
    ecr
    registry or it could pull images from remote registry however I’m wondering: Can I also just push images that I have build locally outside of pulumi? How would I do that? I’d like to have a build that looks like this:
    - build my docker images using other tooling
    - pulumi up
    e
    • 2
    • 10
  • m

    millions-journalist-34868

    03/06/2022, 12:40 PM
    Does anyone know if autonaming can be configure to specify a length for the random suffix. It would be helpful for some cloud resources with a low limit. I asked the question on Pulumi GitHub Discussions as well
    e
    • 2
    • 1
  • t

    tall-glass-71035

    03/07/2022, 9:14 AM
    Just found a typo on pulumi web ui:
    e
    • 2
    • 3
  • c

    cool-glass-63014

    03/07/2022, 1:57 PM
    Is there anybody here with experience with Pulumi, AWS and Datadog when running your services on Fargate?
    g
    • 2
    • 3
Powered by Linen
Title
c

cool-glass-63014

03/07/2022, 1:57 PM
Is there anybody here with experience with Pulumi, AWS and Datadog when running your services on Fargate?
g

great-queen-39697

03/07/2022, 11:08 PM
There might be more folks who would have some experience in the #aws channel, too. Is there an issue you're running into?
c

cool-glass-63014

03/08/2022, 1:51 PM
It's just the whole thing combined with Datadog 🙂
g

great-queen-39697

03/08/2022, 10:34 PM
Ah, gotcha. Definitely ask in #aws then as I don't have a lot of experience with the Datadog provider. There's a snippet in https://github.com/pulumi/examples/issues/10, but I'm not sure if it's accurate/helpful
View count: 4