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
general
  • w

    wet-gigabyte-99270

    11/01/2022, 2:40 PM
    Re: the new Web Gui; I used to see some helpful CLI commands for manipulating the stack, like what to write to delete everything, create a new .yaml file etc. Any ideas as where to find this info now?
    e
    b
    • 3
    • 13
  • r

    ripe-russia-4239

    11/01/2022, 4:42 PM
    Is
    tf2pulumi
    still supported? It looks like the web version's stopped working, and the repo hasn't been updated in ~18 months as far as I can see
    e
    b
    • 3
    • 7
  • s

    square-window-64861

    11/02/2022, 1:40 PM
    Unit tests: How can I mock
    pulumi.Output<string>
    as a variable ? I’m using mocha.js & chai Error:
    (property) TargetGroupArgs.vpcId: pulumi.Output<string>
    Type 'string' is not assignable to type 'Output<string>'.
    r
    • 2
    • 2
  • a

    ambitious-agent-35343

    11/02/2022, 3:16 PM
    Helm error: incompatible version -- but it doesn't read out the right version: https://pulumi-community.slack.com/archives/CRFURDVQB/p1667384205784629
  • a

    ambitious-alligator-62127

    11/02/2022, 3:27 PM
    Hello, I'm getting spun up on Pulumi and having an error changing the secret provider that my co-worker is not seeing. Co-worker is on windows and using WSL while I'm on a Mac. I'm seeing the following:
    pulumi stack change-secrets-provider <azurekeyvault://cg-test-kv.vault.azure.net/keys/dev-stacks>
    error: open keeper <azurekeyvault://cg-test-kv.vault.azure.net/keys/dev-stacks>: failed to Dial default KeyVault: MSI not available
    increasing verbosity does not add any additional output. Couldn't tell what area this is exactly related to. If I need to post in different channel, let me know. Suggestions?
    b
    • 2
    • 3
  • p

    polite-ocean-13631

    11/02/2022, 3:32 PM
    https://www.pulumi.com/docs/reference/cli/pulumi_stack_graph/ I see there's a
    pulumi stack graph
    command that claims to "export a stack’s dependency graph to a file". How do you define a stack's dependencies? How are these dependencies used?
    e
    b
    • 3
    • 4
  • f

    few-plastic-88435

    11/02/2022, 4:14 PM
    Hi team 👋 , When the YAML helm chart docs will be completed ?
  • k

    kind-country-41992

    11/02/2022, 5:31 PM
    I am using kube2pulumi to convert .yaml file to pulumi python code. but when i deploy it. configmaps which contains | with some data which is not saving. how to do that
    s
    • 2
    • 1
  • w

    white-chef-55657

    11/02/2022, 5:45 PM
    I have multiple projects running with references, when making changes to my deployment I don’t necessarily change all the projects I’m trying to find ways to speed up the deployment (that takes over 10 minutes today) by eliminating updates on projects that haven’t changed I was thinking about running
    preview --expect-no-changes
    and if that command returns non-zero run
    update
    but I was hoping there’s a nice way of doing it instead of this ugly hack has anyone encountered something similar?
  • b

    bitter-salesclerk-37287

    11/02/2022, 8:10 PM
    Hey, I know this is a really simple question… I’m just looking for a guide or something for setting up environment variables so that I can deploy to AWS using
    pulumi up
    from my laptop, and have the service running with the proper configurations. (?)
    b
    • 2
    • 11
  • p

    polite-ocean-13631

    11/02/2022, 10:13 PM
    We can register additional resource outputs with
    register_output
    as explained here: https://www.pulumi.com/docs/intro/concepts/resources/components/#registering-component-outputs How can we hide outputs? I want to make it so that my custom components only expose a small subset of their outputs to ensure we don't accidentally develop a dependency on something unstable.
    l
    • 2
    • 13
  • d

    damp-honey-93158

    11/03/2022, 9:41 AM
    Hi! Project Level Configuration - for the win! But I must have missed something - neither in the blob post nor in the documentation do I see how, using pulumi cli, to set a secret value in the project. I understand/see that the spec can be defined for a type such that it is a secret - but now how to supply the value in the project file. My use case is to set the devops:pat + devops:org url for the Azure DevOps provider. Any hints appreciated!
    l
    • 2
    • 2
  • p

    purple-coat-73595

    11/03/2022, 3:23 PM
    Hi everybody! I am new here and haven't found any "Intro" channel, so I am saying "hi" here. I have a question: Is it possible to create infrastructure in Pulumi (single stack) using multiple programming languages? I know that there are multi-language Components but my use case is a little bit different: My main code is written in Golang and I wanted to allow other developers to write parts of the infrastructure in a different language (for example TypeScript). If not possible now, do you have plans to support multi-language stacks?
    b
    e
    b
    • 4
    • 10
  • k

    kind-country-41992

    11/03/2022, 3:57 PM
    this is my pulumi code. how to order creation of the Resouces. As this i am using it for Istio installation using python https://raw.githubusercontent.com/naguait85/pulumi/main/main.py some input appreciated as i stuck from long time
  • t

    tall-crowd-93084

    11/03/2022, 7:44 PM
    Hey there, I just upgraded the pulumi cli and hit
    panic: interface conversion: interface {} is string, not int
    not sure if this is a bug in the new version or related to me trying to import some resources from hetzner, but wanted to flag it here in case it's the former. Happy to raise an issue
    e
    • 2
    • 3
  • g

    gorgeous-minister-41131

    11/04/2022, 1:41 AM
    Trying to use Automation API to disable the default providers, but the
    set_config()
    method doesn't support using a path key?
    stack.set_config("pulumi:disable-default-providers[0]", auto.ConfigValue("*"))
    Results in a literal config with [0] in its name.. but if I use --path on the cli I can force it to a list of string... is there a more correct way to do this?? setting complex types via automation?
    b
    • 2
    • 7
  • b

    busy-whale-18770

    11/04/2022, 10:02 AM
    Hey everyone I'm Ganesh Patil. 👋 Professionally, I work as a community manager for open source through Aviyel. I really like the idea behind Pulumi and am looking forward to spread the word through some non-code ways (like an event or blog). I was wondering if it would be fine with the team?
    d
    • 2
    • 1
  • f

    full-pencil-66049

    11/04/2022, 1:56 PM
    Hi everyone! I'm trying to create a
    DashboardJson
    from an exported JSON from Datadog itself, but I'm having trouble with the definition of
    query_values
    . 🧵
    • 1
    • 2
  • p

    purple-minister-96588

    11/04/2022, 2:29 PM
    Serious question. How on earth do I take an output and make it into a string? I have lost an entire day to this and a team of 5 people and none of us can make this work. I create a redis cache on gcp which I return as an object called cache which I would expect to have a cache.host value, which I think I do have. Only that the output type of that is string according to the documentation. When I try to use it as a string to create a dns entry I get told it is an Output and not a string. So I want to cast to a string? I have this
    host = cache.host.apply(lambda k: k)
    Which from what I can tell is meant to be right, but host remains an output.
    p
    e
    • 3
    • 12
  • g

    gray-fountain-32432

    11/04/2022, 2:53 PM
    👋 Hi everyone! I am using pulumi-aws, a new guru, I found it is hard to find route table via ec2.GetRouteTable. any ideas, how to get the table and add a route to it?
    f
    • 2
    • 11
  • f

    flaky-arm-38472

    11/04/2022, 3:36 PM
    Hi Pulumi team, where I can check the recorded version of this workshop -> https://www.bigmarker.com/pulumi/Sharing-Code-with-Pulumi-Packages-Abstractions-and-More?utm_source=twitter&amp;utm_medium=social&amp;utm_campaign=workshops
  • g

    gorgeous-country-43026

    11/04/2022, 4:48 PM
    Since this message is getting zero notice on #gcp and I think it is mostly due to that channel having relatively few people on it I'm sharing this here in hope that someone might actually know about this issue
    f
    • 2
    • 2
  • d

    damp-honey-93158

    11/04/2022, 5:14 PM
    I’d like some guidance on Azure Classic vs Azure Native - am I recalling right when I say classic is essentially “end of life”?
    b
    • 2
    • 1
  • b

    busy-dentist-99842

    11/04/2022, 5:35 PM
    Hello all, I ran into an issue with the
    deleteBeforeReplace: true
    property in
    CustomResourceOptions
    . It seems like it's not getting applied to the resource. When I run
    pulumi up
    . Pulumi still tries to do a create before delete on a replacement. I put in the issue below but does anyone see an obvious error in my code?
    import * as aws from '@pulumi/aws';
    
    const cluster = new aws.ecs.Cluster('playground', {name: 'playground'});
    new aws.ecs.ClusterCapacityProviders(
      'playground',
      {
        clusterName: 'playground',
        capacityProviders: ['FARGATE'],
        defaultCapacityProviderStrategies: [
          {
            base: 1,
            capacityProvider: 'FARGATE',
            weight: 100,
          },
        ],
      },
      {
        dependsOn: cluster,
        deleteBeforeReplace: true,
      }
    );
    https://github.com/pulumi/pulumi/issues/11259
    • 1
    • 1
  • s

    salmon-motherboard-78006

    11/04/2022, 9:15 PM
    Hi all, I have a CloudFormation code provided by sumo-logic and I’m trying to use
    cf2pulumi
    to convert to Pulumi code but getting an error… not sure if because of the place holders... Will paste the CF code in the replies. source: https://help.sumologic.com/docs/send-data/hosted-collectors/amazon-aws/aws-kinesis-firehose-logs-source/
    • 1
    • 1
  • b

    bland-tailor-50336

    11/05/2022, 6:17 AM
    Why does pulumi have this concept of Output monad instead of just using promises in TS/JS... Promises have a well understood api, and provide syntactical sugar for asynchronous control-flow with the async and await keywords, also supports resolving multiple promises concurrently using Promise.all function. Why use something like the Output class instead of getting all this for free?
    b
    e
    +2
    • 5
    • 13
  • b

    blue-jelly-98553

    11/05/2022, 5:02 PM
    Is it possible to break up a large
    __main__.py
    definition into smaller, more manageable py files. For example, I'm specifying multiple AWS SES templates, where I'd like that IAC code to live in its own file. I looked through the docs, but it's not clear on how to achieve in a way similar to how terraform allows modules. A little bit like the example image...
    b
    • 2
    • 12
  • i

    icy-controller-6092

    11/05/2022, 11:50 PM
    Hi all, I’m troubleshooting a resource that keeps wanting to be deployed everytime I run up even though no changes are made
    aws:kinesis:FirehoseDeliveryStream  unweb_fcp_etl_docs_lake  update      [diff: ~extendedS3Configuration]
    So far I’ve run with
    -v 20
    but this did not produce any output, and I’ve also run through the steps at https://www.pulumi.com/docs/support/troubleshooting/ and cannot find anything relevant What is the typical way to troubleshoot this type of problem?
    b
    • 2
    • 6
  • b

    blue-jelly-98553

    11/06/2022, 12:12 PM
    Long shot (or maybe a feat request) - but is there a way to pull the pulumi stack's resource list (or even better the resource graph) into the github repo's readme? I appreciate that in the pulumi console we have a dedicated readme, but I feel like it would be more useful to have a way to dynamically generate the list of resources defined in the stack on the place where devs are working most, in the code's actual repo readme.
    r
    • 2
    • 2
  • k

    kind-country-41992

    11/06/2022, 1:18 PM
    i installed istio using pulumi helm chat using python. I am trying to convert Gateway and virtual service yaml file to python code using kube2pulumi but not able to do. Getting this error Error: unknown resource type 'kubernetes:networking.istio.io/v1alpha3:Gateway'
    e
    • 2
    • 2
Powered by Linen
Title
k

kind-country-41992

11/06/2022, 1:18 PM
i installed istio using pulumi helm chat using python. I am trying to convert Gateway and virtual service yaml file to python code using kube2pulumi but not able to do. Getting this error Error: unknown resource type 'kubernetes:networking.istio.io/v1alpha3:Gateway'
e

echoing-dinner-19531

11/06/2022, 1:44 PM
Can you raise an issue at https://github.com/pulumi/kube2pulumi/issues? Can probably get someone with more k8s knowledge to comment there.
k

kind-country-41992

11/06/2022, 6:04 PM
Sure thanks
View count: 5