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

    damp-honey-93158

    08/19/2022, 6:25 AM
    I've been using StackReference for a while - is there anything similar that allows me to get the configuration values within the stack file rather than only the outputs? Use case: unit/system testing, I want to check what was created by Pulumi (and I'm not using their policy as code - should I?), and the things being created are dependant on the configuration held within the stack. So I noticed there is the Pulumi Service REST API. I think this could help, as long as I can find the latest preview/update that ran ...
    e
    • 2
    • 1
  • d

    damp-honey-93158

    08/19/2022, 6:43 AM
    Hi pulumiers - is there an OpenAPI spec for the pulumi service REST api?
    e
    • 2
    • 1
  • g

    gentle-market-22852

    08/19/2022, 8:37 AM
    Are there any Pulumi Iac Testing github examples in java ? looking for unit, property and integration test examples. This link does not say of java samples https://www.pulumi.com/docs/guides/testing/unit/ Looking like java is not a first class pulumi 🙂 as most places java code is missing.. may be because java was late entrant to be supported by pulumi
    e
    • 2
    • 1
  • g

    gentle-market-22852

    08/19/2022, 10:56 AM
    Pulumi Crosswalk for Kubernetes are there any good examples for the same.. I am hoping these examples would be different than the examples related to Pulumi Pulumi at https://www.pulumi.com/docs/get-started/kubernetes/review-project/
    👀 1
  • g

    gentle-market-22852

    08/19/2022, 10:56 AM
    What is the package name for Pulumi Crosswalk for Kubernetes and its github source url
    👀 1
    e
    s
    • 3
    • 5
  • r

    ripe-greece-78043

    08/19/2022, 3:07 PM
    Hi )) Is it possible to speed up deleting AWS k8s cluster? In GUI I can delete nodes and then cluster. I don’t delete helm charts and other resources one by one.
    s
    • 2
    • 3
  • l

    late-lizard-19909

    08/19/2022, 9:37 PM
    I'm trying to put a managed user identity on a scale set, the weird thing is the syntax for the identity is to have the resourceid of the managed identity as the propertyid. However, I want the resource ID to be variable. Anyone know how to achieve this, it may be a typescript syntax thing?
    userIdentity = '/subscriptions/555-555-555-555-555-555/resourcegroups/fake/providers/Microsoft.ManagedIdentity/userAssignedIdentities/Fakeidentity';
    automationIdentity = '/subscriptions/555-555-555-555-555-555/resourcegroups/fake/providers/Microsoft.ManagedIdentity/userAssignedIdentities/Fakeidentity2';
    new azure_native.compute.VirtualMachineScaleSet(vmssname,{
    identity: {
    type: "UserAssigned",
    userAssignedIdentities:{ userIdentity: {},
    automationIdentity: {},
    }},
  • l

    late-lizard-19909

    08/19/2022, 9:38 PM
    Here's the error I get: 
    azure-native:compute:VirtualMachineScaleSet (vmssname):
      error: Code="LinkedInvalidPropertyId" Message="Property id 'automationIdentity' at path '' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.
  • l

    late-lizard-19909

    08/19/2022, 9:52 PM
    Nevermind solved it, I had to write the literal with this syntax:
    
            userAssignedIdentities:{ [`${automationIdentity}`]: {},
                                     [`${envIdentity}`]: {},
  • a

    agreeable-stone-77159

    08/20/2022, 8:06 AM
    Are there any plans to make the pulumi binaries for macOS signed and notarized? It would be nice to avoid having to manually bypass the security settings to override this message.
    e
    p
    s
    • 4
    • 4
  • p

    proud-tomato-75820

    08/20/2022, 11:15 AM
    Hi guys, I’m here with this annoying question. I’d like to get some advice about pulumi SDKs / programming language choice and whether it is really a personal preference. I started to wonder after seeing function serialization being supported only in nodejs runtime - is it the only case? I would appreciate some advice from experienced users willing to share maybe some use-case strictly SDK/language related that was blocker or pain in the ass. Thanks for any answer.
    e
    r
    • 3
    • 2
  • w

    wet-fall-57893

    08/20/2022, 12:35 PM
    hey guys, would stack reference work if I don’t have an account? Followed format described in this link threw error saying unknown stack https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences
  • s

    stocky-petabyte-29883

    08/20/2022, 2:32 PM
    Hi I created an aws aurora cluster inside a vpc, I have a script that I am running using pulumi remote command, which is running a sql script against the previously created instance. The remote command depends on a different resource, which inturn depends on the aurora cluster. However the script are still getting executed before the clusters in the instance are fully provisioned and I get an error back that the host is unknown, how can I prevent this?
  • v

    victorious-dusk-75271

    08/20/2022, 2:46 PM
    is exporting objects discouraged? for example:
    primary: {
       all my primary stuff 
    }
    secondary: {
     all my secondary stuff
    }
    instead of prefixing all exports with
    primary
    and
    secondary
    ? and I am not really sure if i can access them with
    stack.Output('primary.something')
    e
    • 2
    • 1
  • v

    victorious-dusk-75271

    08/21/2022, 12:07 PM
    so there is no way to get map object if its contains secret?
    error: Error: Cannot call 'getOutputValue' if the referenced stack output is a secret. Use 'getOutput' instead.
    e
    • 2
    • 2
  • a

    abundant-megabyte-13431

    08/22/2022, 2:03 AM
    the tf2pulumi's import-go use pulumi's sdk version of v1.13.1, but the newest pulumi version is v3, how do i use tf2pulumi with the newest pulumi of v3 to import the state file
  • g

    gentle-market-22852

    08/22/2022, 2:57 AM
    Trying to build docker images based on this info https://www.pulumi.com/learn/pulumi-fundamentals/create-docker-images/ however it gives this error.. any clues on what this errors are https://app.pulumi.com/nagkumar/docker/dev/previews/f77afebf-b3ae-4d54-b0a4-e6e3f769a5ac
    f
    s
    • 3
    • 39
  • a

    alert-plumber-27645

    08/22/2022, 5:34 AM
    I joined pulumi's slack channel today and wanted to thank the Founders. Clear, crisp, to the point & awesomely programmatic. surprisingly - one of those frameworks which deploys your thing(stack) in one go - no errors - no issues for us as a developer community anything that deploys in a single go without error = a shocker (trust issues? and a case of raising a concern - is this for real?) I was like this minion actually.

    https://media.giphy.com/media/XQvhpuryrPGnK/giphy.gif▾

    👍 2
    👍🏼 1
  • a

    alert-plumber-27645

    08/22/2022, 5:34 AM
    Thanks PULUMI team - the founders, the core engineers, contributors. I am loving it (McDonalds copyrighted this?)
  • g

    gentle-market-22852

    08/22/2022, 6:10 AM
    Can Pulumi avoid need for Dockerfile too
    e
    h
    • 3
    • 13
  • g

    gentle-market-22852

    08/22/2022, 12:29 PM
    Does pulumi provider AWSNative internally use CDK or Cloudformation. if yes, does AWS Classic uses what.. How performant is Native compared to classic
    l
    m
    • 3
    • 10
  • g

    gentle-market-22852

    08/22/2022, 12:53 PM
    Does pulumi destroy does it do good job of clean-up if some of the resources are freed manually from aws console.. 🙂 if yes, how does it handle, if no, what is the workaround to do cleanup with pulumi destroy
    s
    l
    • 3
    • 8
  • g

    gentle-market-22852

    08/22/2022, 1:06 PM
    Is there one pulumi example, that can list all the info in aws and can it clean all of them irrespective of region (some may have been done manually some through pulumi etc..) I do understand it is a too dangerous script.. but during learning time, it is a nice cloud rest to factory setting option. 🙂
    l
    s
    • 3
    • 2
  • m

    modern-art-46499

    08/22/2022, 3:16 PM
    👋 Hi everyone! I`m from LATAM is an honor to be here
    s
    • 2
    • 1
  • m

    modern-art-46499

    08/22/2022, 3:16 PM
    I`m new in the IaC ecosystem
    b
    • 2
    • 1
  • w

    worried-helmet-23171

    08/22/2022, 4:33 PM
    hi everyone. Looking for a bit of help around learning to building a first time provider component. Using the python boiler plate. The error I receive is:
    error: Running program '/Users/gm/Desktop/git/pulumi-gcp-test/examples/bucket_test' failed with an unhandled exception:
        Error: failed to register new resource test_bucket [xyz:index:GCPBucket]: 2 UNKNOWN: Unexpected <class 'TypeError'>: __init__() got an unexpected keyword argument 'options' t Object.registerResource (/Users/gm/Desktop/git/pulumi-gcp-test/sdk/nodejs/node_modules/@pulumi/runtime/resource.ts:292:27)
    My provider code looks like this:
    class Provider(provider.Provider):
        def __init__(self) -> None:
            super().__init__(xyz_provider.__version__, xyz_provider.__schema__)
    
        def construct(
            self,
            name: str,
            resource_type: str,
            inputs: Inputs,
            options: Optional[ResourceOptions] = None,
        ) -> ConstructResult:
    
            if resource_type == "xyz:index:GCPBucket":
                return _construct_gcp_bucket(name, inputs, options)
    
            raise Exception(f"Unknown resource type {resource_type}")
    
    
    def _construct_gcp_bucket(
        name: str, inputs: Inputs, options: Optional[ResourceOptions] = None
    ) -> ConstructResult:
    
        gcp_bucket = GCPBucket(name, GCPBucketArgs.from_inputs(inputs), options)
    
        return provider.ConstructResult(
            urn=gcp_bucket.urn, state={"bucket": gcp_bucket.bucket})
    My test code:
    import * as xyz from "@pulumi/xyz";
    
    const gcp_bucket = new xyz.GCPBucket(
        "test_bucket",
        {
            "name": "test_bucket",  "location": "northamerica-northeast1"   });
    Any help is appreciated!
  • i

    icy-controller-6092

    08/22/2022, 6:45 PM
    Hi all, if I create a
    new aws.Provider(region, { region })
    everything on the class is now an
    Output
    … how can I access the region as a string elsewhere in the code, which was statically defined on creation? I am trying to do an API gateway multi-region deployment, and need to give each resource a unique name. I want to append the name of the provider to all the resources generated per provider
    • 1
    • 2
  • f

    full-piano-38001

    08/22/2022, 7:22 PM
    Hi, we are running into an issue when running
    pulumi up
    . We are attempting to update an elasticsearch domain but get this error.
    aws:elasticsearch:Domain (webiny-js):
        error: 1 error occurred:
        	* updating urn:pulumi:prod::api::aws:elasticsearch/domain:Domain::webiny-js: 1 error occurred:
        	* ResourceNotFoundException: No progress information found
    We also see an error in our state file with this message:
    "initErrors": [
                            "updating urn:pulumi:prod::api::aws:elasticsearch/domain:Domain::webiny-js: 1 error occurred:\n\t* ResourceNotFoundException: No progress information found\n\n"
                        ],
    However, we can can confirm that the resources exists in our AWS console and in the statefile itself. Is there any guidance on what caused this error/how to resolve? I did see a mention of initErrors in the docs but hoping for a bit more detail. Thank you!
    b
    • 2
    • 4
  • w

    witty-barista-69390

    08/23/2022, 2:39 AM
    I having some issues with a GH action, it keeps telling me "unable to validate AWS credentials - see https://pulumi.io/install/aws.html for details on configuration" when I test the same credentials locally I do not see the issue.
    l
    b
    • 3
    • 7
  • m

    microscopic-cpu-38113

    08/23/2022, 4:18 AM
    Info
    2022-08-23T04:12:56.547025561ZStep #2: error: no resource plugin 'pulumi-resource-datadog' found in the workspace at version v4.10.0 or on your $PATH, install the plugin using `pulumi plugin install resource datadog v4.10.0`
    hi all, we have "@pulumi/datadog": "4.10.0" as part of our private node package for which the application is referring. We have this in our package.json.lock file but when we run pulumi up, we see the error above, did I miss anything?
Powered by Linen
Title
m

microscopic-cpu-38113

08/23/2022, 4:18 AM
Info
2022-08-23T04:12:56.547025561ZStep #2: error: no resource plugin 'pulumi-resource-datadog' found in the workspace at version v4.10.0 or on your $PATH, install the plugin using `pulumi plugin install resource datadog v4.10.0`
hi all, we have "@pulumi/datadog": "4.10.0" as part of our private node package for which the application is referring. We have this in our package.json.lock file but when we run pulumi up, we see the error above, did I miss anything?
View count: 1