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

    red-football-97286

    01/28/2022, 11:53 AM
    Hi all, having issues building WAFv2 with Go in AWS. I've raised a GitHub issue which has not been looked at for a few weeks. Has anyone else this issue? Who can I escalate to as this is effecting production system. Thanks! https://github.com/pulumi/pulumi-aws/issues/1757
  • b

    bland-camera-22041

    01/28/2022, 2:11 PM
    Hi, I'm trying to destroy and existing stack. I'm encountering the following issue:
    ➜  infrastructure git:(master) ✗ pulumi destroy
    Previewing destroy (test):
    
    error: could not load plugin for aws provider 'urn:pulumi:test::office-booker::pulumi:providers:aws::default_3_2_1': no resource plugin 'aws-v3.2.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v3.2.1`
    
    ➜  infrastructure git:(master) ✗ pulumi plugin install resource aws v3.2.1
    [resource plugin aws-3.2.1] installing
    error: [resource plugin aws-3.2.1] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-aws-v3.2.1-darwin-arm64.tar.gz>
    ➜  infrastructure git:(master) ✗
    e
    • 2
    • 5
  • b

    bland-camera-22041

    01/28/2022, 2:12 PM
    403 when installing the plugin. Seems that I will be unable to take this stack down until I can get around this issue
  • b

    bland-camera-22041

    01/28/2022, 2:16 PM
    Ah, nevermind. I see I'm just unlucky at the moment haha https://www.pulumi.com/docs/troubleshooting/#403-http-error-fetching-plugin
    👍 1
  • h

    helpful-account-44059

    01/28/2022, 3:50 PM
    Hi, is it possible to shared a global vpc in a project, for example, i will create a aws eks cluter and rds postgres server, they are in same vpc , how to organization the codes? do we have an example ?
    e
    s
    • 3
    • 6
  • d

    dazzling-author-49810

    01/28/2022, 5:58 PM
    is go runtime of pulumi faster than ts/js runtime? using pulumi with ts runtime and its quiet slow and consume too much memory as well.
    b
    • 2
    • 2
  • f

    fancy-egg-38667

    01/28/2022, 6:52 PM
    Can I delete pulumi URNs from the pulumi console?
    e
    m
    • 3
    • 2
  • a

    acoustic-fireman-23577

    01/28/2022, 8:56 PM
    Hello, I am trying to create an app service plan for Azure. I can see it show up in my resource-group in Azure but it stays stuck on a status of 'provisioning' and my build never completes or errors out. Any ideas?
  • f

    fast-easter-23401

    01/28/2022, 9:05 PM
    If I were to retrieve state at a given point in time which would be the best way to achieve that? I know that the pulumi CLI include a
    pulumi stack history
    , which seems to be a git-based history of the stack state. Is there any way to do that, whether it be using
    stack history
    or some other means ?
    b
    • 2
    • 1
  • d

    dazzling-author-49810

    01/29/2022, 1:57 PM
    when pulumi knows about the hierarchy of resource creation, why don't it show up in the hierarchy as well in the plan? it would be awesome to see resources dependency as pulumi internally know visually in the shell
    b
    • 2
    • 5
  • d

    dazzling-author-49810

    01/29/2022, 1:58 PM
    can we take diff of stack from history? eg: 1st run of activity vs 3rd run in activity etc?
    b
    • 2
    • 1
  • b

    bitter-eve-53295

    01/29/2022, 7:51 PM
    Job alert: any experienced Python devs out there looking for a new gig? My team is trying to fill a couple spots. Fully remote and great benefits to work on a pretty cool project. Lmk if interested!
    t
    • 2
    • 2
  • d

    dazzling-author-49810

    01/30/2022, 9:57 AM
    hi, is there any way to perform operations on the stack with selection? eg: multiple resources and you want to delete only some etc? so something like during plan phase select stuff that only need to be deleted rather full stack
    e
    • 2
    • 2
  • d

    dazzling-author-49810

    01/30/2022, 10:11 AM
    policy as code, is it paid feature? also is it available for go and c#?
    e
    • 2
    • 3
  • s

    steep-cartoon-89174

    01/30/2022, 12:37 PM
    Hey guys, isn't there a support forum or so somewhere ? seems odd there is only slack as community support ?
    e
    b
    • 3
    • 2
  • s

    steep-cartoon-89174

    01/30/2022, 12:41 PM
    pretty sure my question has been asked before
  • b

    billions-judge-9412

    01/30/2022, 8:47 PM
    Hi, anyone got any idea how i can workaround this issue? https://github.com/pulumi/pulumi-azure-native/issues/1431 Its a huge blocker for us, since i effectively can't run my configuration 😞 Its effectively blocking me from Setting up a azure container apps. This is the first project where we are using pulumi so I'm unsure if perhaps I'm just doing something wrong
    f
    • 2
    • 5
  • r

    rich-kilobyte-15539

    01/31/2022, 1:35 AM
    Hi everyone, I have a question regarding the ScheduledAlertRule, I would like to create the scheduled alert rule without workspace. Is that possible ? Because currently the workspaceName is a mandatory field in the Input. I was able to create the following rule in console without needing the workspace. Thank you for reading 😄
    l
    • 2
    • 7
  • r

    rough-intern-34947

    01/31/2022, 9:16 AM
    message has been deleted
    p
    • 2
    • 5
  • b

    billions-judge-9412

    01/31/2022, 11:35 AM
    "Create a New Server" example on this page, doesn't work - https://www.pulumi.com/registry/packages/azure-native/api-docs/dbforpostgresql/server/#create-a-new-server "cannot use (dbforpostgresql.ServerPropertiesForDefaultCreate literal) (value of type dbforpostgresql.ServerPropertiesForDefaultCreate) as pulumi.Input value in struct literal: missing method ElementType" FYI
  • l

    lively-analyst-8785

    01/31/2022, 2:50 PM
    HI Everyone, I will to create a diagnostic setting with pulumi using "Category Group" to allLogs, it looks like my current version of pulumi is not supporting. Would you know from which version of pulumi it is possible and how to do it. Could not find doc about this.
  • l

    lively-answer-93856

    01/31/2022, 2:50 PM
    Hey, if I add SSO to my Pulumi org, will existing users that signed up via linked GitHub account be able to login? (I do not care about any user/permission mapping, just want to be able for new users to use SSO and existing users GitHub to log in).
    b
    c
    • 3
    • 7
  • w

    witty-vegetable-61961

    01/31/2022, 4:52 PM
    hi all , quick question. If I am building a .NET Core program to interact with Pulumi, is a class library fine or do I need a console app? Also, does every program I made need to be a project in the "Pulumi" gui. This is a potential issue as for example I want to write code for provisioning Auth0 resources, which is not linked to a public cloud.
    e
    • 2
    • 3
  • a

    acoustic-room-2113

    01/31/2022, 5:14 PM
    I'm pretty sure I'm doing something wrong, but I keep getting
    'replaceOnChanges' does not exist in type 'CustomResourceOptions'
    using latest Pulumi, with TypeScript and having just run
    yard upgrade -l
    . What am I missing?
    • 1
    • 1
  • h

    high-grass-3103

    01/31/2022, 9:03 PM
    Hi, I tried using cloudinit.Config, but at runtime it complains it's deprecated...
    l
    • 2
    • 3
  • p

    polite-napkin-90098

    01/31/2022, 9:06 PM
    I'm struggling to get the kubeconfig from, my EKS cluster built in another stack to work as an input to my k8s.NewProvider function. My code looks like:
    package main
      
    import (
            k8s "<http://github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes|github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes>"
            helm "<http://github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3|github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/helm/v3>"
            "<http://github.com/pulumi/pulumi/sdk/v3/go/pulumi|github.com/pulumi/pulumi/sdk/v3/go/pulumi>"
    )
    
    func main() {
            pulumi.Run(func(ctx *pulumi.Context) error {
                    // get the kubeconfig from the EKS stack
                    stackEKS, err := pulumi.NewStackReference(ctx, "EKS-test", nil)
                    if err != nil {
                            return err
                    }
                    kubeConfig := stackEKS.GetOutput(pulumi.String("kubeconfig"))
                    if err != nil {
                            return err
                    }
                    // create a provider with that config
                    eksProvider, err := k8s.NewProvider(ctx, "eksprov", &k8s.ProviderArgs{
                            Kubeconfig: kubeConfig,
                    })
                    if err != nil {
                            return err
                    }
                    // deploy redis from the helm chart
                    _, err = helm.NewChart(ctx, "redis", helm.ChartArgs{
                            Repo: pulumi.String("bitnami"),
                            Chart: pulumi.String("redis"),
                            Values: pulumi.Map{
                                    "auth.password": pulumi.String("MyTopSecretPassword"),
                            },
                    },
                    pulumi.ProviderMap(map[string]pulumi.ProviderResource{
                            "kubernetes": eksProvider,
                    }),)
                    if err != nil {
                            return err
                    }
                    ctx.Export("output", kubeConfig)
                    return nil
            })
    }
    If I comment out the from eksProvider down to the ctx.Export, I get what looks like a valid kubeconfig exported. But as is this results in a typing error:
    ./main.go:22:4: cannot use kubeConfig (type pulumi.AnyOutput) as type pulumi.StringPtrInput in field value:        pulumi.AnyOutput does not implement pulumi.StringPtrInput (missing ToStringPtrOutput method)
    Can anyone help me understand what I need to do here?
    b
    p
    • 3
    • 27
  • r

    rapid-raincoat-36492

    01/31/2022, 9:41 PM
    Is creating resources inside an apply block acceptable? I did not think it was recommended, but I see it in an example in the docs here: https://www.pulumi.com/registry/packages/aws/api-docs/acm/certificatevalidation/
    b
    e
    • 3
    • 5
  • q

    quick-fall-21011

    02/01/2022, 7:16 AM
    Dear helpful community, I'm at a dead end with the https://github.com/pulumi/pulumi-keycloak resource provider. I'm creating my keycloak deployment as a helm chart in Project A, which saves the
    keycloak:url
    and
    keycloak:password
    as Stack Outputs. In Project B, I'd like to create a new Realm, and other related objects, however the login depends on these credentials being in Project B's config, or environment variables. I'd like it all to be automated, so although I can manually set the configuration in Project B, I'd like to avoid that. I tried the suggested alternative method, using Environment variables and setting them inside the project, e.g.
    Environment.SetEnvironmentVariable("KEYCLOAK_CLIENT_ID", "admin-cli");
    But seems the process can't access them, as it still complains that they're not set
    Diagnostics:
      keycloak:index:Realm (pinostrats):
        error: 2 errors occurred:
            * missing required configuration key "keycloak:clientId":
        Set a value using the command `pulumi config set keycloak:clientId <value>`.
            * missing required configuration key "keycloak:url": The base URL of the Keycloak instance, before `/auth`
        Set a value using the command `pulumi config set keycloak:url <value>`.
    Any ideas on how to get around this? Somehow manually instantiate the provider?
    e
    • 2
    • 4
  • s

    stale-iron-26898

    02/01/2022, 11:48 AM
    Hi all! I’m trying to setting up pulumi app with jenkins pipeline, I installed the pulumi github app in the organisation and jenkins job that run pulumi preview to the selected stack, but I cannot see any comments on the PR. Any ideas?
    m
    • 2
    • 1
  • c

    curved-summer-41191

    02/01/2022, 10:40 PM
    Anyone have a clever way to ensure the pulumi docker image build targets linux on the new apple silicon? I'll also accept unclever ways.
Powered by Linen
Title
c

curved-summer-41191

02/01/2022, 10:40 PM
Anyone have a clever way to ensure the pulumi docker image build targets linux on the new apple silicon? I'll also accept unclever ways.
View count: 1