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

    little-journalist-4778

    11/23/2021, 10:28 AM
    I have a stack transformation that adds tags to all resources, I want to exclude getted resources (just because is not nice to see that in preview), there's a way to distinguish between created and getted resources inside the stack transform function?
    • 1
    • 1
  • l

    lively-answer-93856

    11/23/2021, 4:06 PM
    Hey Team, is there any way to get a new ecs task definition json in diff? I updated task definition environment variables and
    -- aws:ecs/taskDefinition:TaskDefinition (delete-replaced)
    output shows old values.
  • s

    swift-pharmacist-99893

    11/23/2021, 4:40 PM
    When my object has a secret property, during runtime is it going to be
    automatically unsecret
    or do I need to use
    pulumi.Output.unsecret
    ?
    l
    • 2
    • 1
  • r

    rapid-raincoat-36492

    11/23/2021, 9:52 PM
    Is there any way to have projects in multiple git repositories appear under the same project in the Pulumi Cloud UI?
    b
    • 2
    • 2
  • m

    magnificent-lifeguard-15082

    11/23/2021, 9:54 PM
    Is there a first-class way to enforce at a project config level that a stack outside the organisation should never be used?
  • m

    most-lighter-95902

    11/23/2021, 11:37 PM
    Trying to use .apply but not sure why it doesn’t work as expected.
  • m

    most-lighter-95902

    11/23/2021, 11:37 PM
    const cluster = new eks.Cluster({...})
  • m

    most-lighter-95902

    11/23/2021, 11:37 PM
    This works:
    this.clusterOidcProviderId = cluster.core.oidcProvider?.id
    l
    • 2
    • 7
  • m

    most-lighter-95902

    11/23/2021, 11:37 PM
    But this is undefined:
    this.eksHash = this.clusterOidcProviderId?.apply(oidcProviderId => oidcProviderId.split('/').slice(-1)[0])
  • m

    most-lighter-95902

    11/23/2021, 11:38 PM
    Running it inside a custom Component Resource
  • h

    helpful-afternoon-10938

    11/24/2021, 4:54 AM
    Hi, I am using automation api and want to know is there any way to get resource urn list for particular stack. similar to 
    pulumi stack --show-urns
    r
    • 2
    • 1
  • w

    witty-honey-13693

    11/24/2021, 6:09 AM
    Hi Any body created the credentials method in Backend resource. The code in the pulumi documentation is also showing few errors. (https://www.pulumi.com/registry/packages/azure-native/api-docs/apimanagement/backend/) Let me know if any body did this in the past.
  • b

    bulky-policeman-29913

    11/24/2021, 2:09 PM
    Hi all, can anyone tell me if there is a roadmap for adding event sources to lambda. Specifically looking to get an iot trigger: https://www.pulumi.com/docs/guides/crosswalk/aws/lambda/#available-aws-services-with-event-sources
  • n

    nice-shampoo-33014

    11/24/2021, 3:27 PM
    Hi, I am trying to convert my cloud formation yaml but I have found a problem: the converting tool at https://www.pulumi.com/cf2pulumi/ says that the text is valid but
    it might use a feature cf2pulumi doesn't support
    Diagnostics:
    
    Warning: Resource not supported
    
    Resource "aws-native:appsync:Resolver" is not yet supported by AWS CloudControl API. Code generated for "loguserResolver" is for reference only.
    • 1
    • 1
  • b

    busy-helicopter-97413

    11/24/2021, 5:31 PM
    I am trying to create a new OIDC provider for my EKS cluster. For it to work, I need the thumbprint. However, it seems like for EKS, the process for getting the thumbprint outside of EKS is potentially a lot of work to automate? https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html is there something i'm missing here?
    w
    • 2
    • 3
  • h

    high-holiday-63390

    11/24/2021, 6:17 PM
    Is it possible to see the value of a secret encrypted using AWS KMS?
    r
    • 2
    • 5
  • b

    bulky-policeman-29913

    11/24/2021, 6:33 PM
    Does pulumi have the concept of a plugin that could be ran as say a pre-step to pulumi up? I know plugins/resource providers are there from that perspective, but it would be nice to consolidate some canned capabilities inside a plugin vs performing builds/dependency installs outside pulumi in bash for instance
    w
    p
    +2
    • 5
    • 11
  • f

    fast-easter-23401

    11/24/2021, 7:44 PM
    Hi everybody, We're migrating from TF. Having provisioned both cert-manager and the nginx-ingress controller as helm releases, I was wondering if there's a way to import these using the information provided by my .tfstate file. What's the most idiomatic (idiosyncratic) way to do this with pulumi? Thanks for your time.
    g
    • 2
    • 3
  • r

    rich-cat-16319

    11/25/2021, 1:11 AM
    Hi guys. Is there a way for pulumi to check if there's already a vnet address space already in use? or any ideas how to do this?
  • w

    witty-honey-13693

    11/25/2021, 3:37 AM
    @here Does any body knows how to create a host key in Function APp through Pulumi I didnt find any sample in Pulumi documentation.
  • s

    steep-beach-52652

    11/25/2021, 6:03 AM
    Hello, I am using Pulumi python for AWS ECS , i need pulumi up to wait until the task status is up and running , currently pulumi up just completed, and then task goes to pending state and then later to running state.
  • s

    steep-beach-52652

    11/25/2021, 6:05 AM
    maybe i need to use the option _wait_for_steady_state_
  • s

    steep-beach-52652

    11/25/2021, 6:05 AM
    ??
  • r

    rapid-soccer-98878

    11/25/2021, 7:04 AM
    Hi, are there any flags in pulumi that can say if preview is skipped or has been run, within a component resource?
    s
    • 2
    • 1
  • s

    sticky-airline-40485

    11/25/2021, 11:21 AM
    Hi, I'm using Pulumi C# AWS - I'm recently getting a lot of random
    System.InvalidOperationException: This operation cannot be performed on a default instance of ImmutableArray<T>
    errors. They pop up at random places and the only thing I can do is comment code, do
    pulumi up
    , and then uncomment the code and hopefully it will go away. Anyone coming across this
    c
    w
    • 3
    • 4
  • m

    magnificent-lifeguard-15082

    11/25/2021, 3:56 PM
    How are people, if at all, managing the stack name/referencing variation between
    local
    and
    default
    state backends? On the cloud a stack reference is derived from project name and stack name (ie.
    [ORG/]PROJECT/STACK
    ) but locally it’s just the stack (ie.
    STACK
    ). This means I end up with conflicts because every project has a
    "local"
    stack. You can specify a location per login but I presume logging in separately for every project is going to be a pain and mean I cannot do anything in parallel (a non-starter). Is my only solution to have an inconsistent stack name of “local-PROJECT” (
    Pulumi.production.yml
    next to
    Pulumi.local-projec.yml
    ) or am I missing something else? Slightly unfortunate that I also have to propagate logic for handling name convention difference into my runtime for StackReference too.
  • t

    thankful-father-68341

    11/26/2021, 4:28 AM
    Hi Guys - has anybody configured the CodeDEploy Role on AWS using Pulumi - Can u please help how I can set the policy for AmazonEC2RoleforAWSCodeDeploy and AmazonEC2FullAccess, AWSCodeDeployFullAccess, AdministratorAccess, AWSCodeDeployRole managed polocies???
    s
    • 2
    • 3
  • t

    thankful-father-68341

    11/26/2021, 4:28 AM
    I am trying tor create a role with these policies
  • b

    brave-nightfall-19158

    11/26/2021, 5:20 PM
    hey y'all question regarding stack export - is this file the full state of the entire of the infrastructure or is there something else hidden in Pulumi backend? The reason I ask - I want to move a resource from one stack to another but it would cause downtime which I want to avoid. Can I just export the stack, cut the resource + any dependencies and add into the stack file of my other stack, then reimport both? It's necessary as I'm refactoring the code and unfortunately put a resource where it shouldn't be 😅
    b
    • 2
    • 4
  • a

    able-camera-57198

    11/26/2021, 5:51 PM
    Is there any way to Pulumi to list all current state with keys and paths so that I can easily figure out the parameters I need to do a manual delete?
    b
    w
    • 3
    • 9
Powered by Linen
Title
a

able-camera-57198

11/26/2021, 5:51 PM
Is there any way to Pulumi to list all current state with keys and paths so that I can easily figure out the parameters I need to do a manual delete?
b

billowy-army-68599

11/26/2021, 5:54 PM
pulumi stack export
should do it
a

able-camera-57198

11/26/2021, 5:54 PM
That's quite verbose.
Is there anything tidier just for the sake of doing a bit of manual state fiddling? Or am I stuck coming up with JQ to digest this?
Like I basically just need pulumi name and resource id pairs.
The URNs look like this:
urn:pulumi:myproject-myenvironment-api::myproject-api::myproject:api:Service$gcp:serviceAccount/account:Account::ca-api
But when I call
pulumi state delete
, it tells me that it can't be found.
b

billowy-army-68599

11/26/2021, 9:17 PM
@able-camera-57198 your shell is probably escaping the
$
- make sure you wrap in quotes
w

white-balloon-205

11/27/2021, 12:03 AM
pulumi stack --show-urns
should also do more directly what you are looking for here.
🙏🏻 1
a

able-camera-57198

12/03/2021, 2:56 AM
Thanks! I'll check it out 🙂
View count: 1