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
python
  • s

    stocky-spoon-28903

    05/28/2019, 3:37 PM
    By “doesn’t let me do anything” - can you clarify exactly what it is saying?
  • s

    stocky-spoon-28903

    05/28/2019, 3:37 PM
    This is not something I’ve experienced before
  • l

    little-river-49422

    05/28/2019, 3:38 PM
    nothing, if kubernetes credentials in the stack are not working - stack is toasted. it wont let you do anything (destroy\refresh\update) because credentials do not work
  • l

    little-river-49422

    05/28/2019, 3:39 PM
    same deal with the locked resources. I cant delete a stack with the locked resource. how much sense does it make? lol
  • s

    stocky-spoon-28903

    05/28/2019, 3:39 PM
    Ah, I see what you mean - the provider cannot configure itself. cc @creamy-potato-29402 @gorgeous-egg-16927
  • l

    little-river-49422

    05/28/2019, 3:39 PM
    how do i rebuild it?
  • s

    stocky-spoon-28903

    05/28/2019, 3:39 PM
    Not being able to delete stacks with locked resources makes perfect sense to me
  • l

    little-river-49422

    05/28/2019, 3:39 PM
    makes no sense to me
  • s

    stocky-spoon-28903

    05/28/2019, 3:39 PM
    Anything else is not respecting the general definition of a “lock”
  • l

    little-river-49422

    05/28/2019, 3:39 PM
    no, you lock the resource, NOT the stack
  • s

    stocky-spoon-28903

    05/28/2019, 3:39 PM
    That doesn’t prevent concurrent modifications from two users simultaneously
    👍 1
  • l

    little-river-49422

    05/28/2019, 3:42 PM
    what does this have to do with deleting the stack?
  • s

    stocky-spoon-28903

    05/28/2019, 3:46 PM
    Deleting it is a modification of it
  • l

    little-river-49422

    05/28/2019, 3:47 PM
    so? nowhere did I say anything about 2 users? how is this relevant?
  • l

    little-river-49422

    05/28/2019, 3:47 PM
    besides it says "this doesnt prevent"
  • l

    little-river-49422

    05/28/2019, 3:47 PM
    so i'm not sure what is this argument for
  • s

    stocky-spoon-28903

    05/28/2019, 3:53 PM
    There are two separate issues here - one bug and one explanation of correct behaviour: The kubernetes provider not being usable in this case sounds like a bug to me (cc @gorgeous-egg-16927 and @creamy-potato-29402 who can investigate that one). The reason you can’t continue in some (not all) circumstances when an update/destroy is terminated non-gracefully is because of the per-stack state lock. The state lock exists such that two users can safely run
    pulumi up
    and know that their runs will be serialized. You don’t actually have to have two users for this to present, however - since there is no way for us to know when a second user is about to appear, the lock is used at all times. The “this doesn’t prevent” refers to a per-resource lock instead of a per-state lock.
    c
    l
    • 3
    • 4
  • l

    little-river-49422

    05/28/2019, 4:22 PM
    unknown state, lol. a simple get to the azure api would reveal the mystery behind unknown state
  • l

    little-river-49422

    05/28/2019, 4:23 PM
    this means I cant run the pipeline, this means I'd need to intervent manually. at this point I really start to contemplate getting back to arm templates
  • l

    little-river-49422

    05/28/2019, 4:27 PM
    this is not the first time i'm going through this, lol. i'm constantly battling pulumi to update my stack. its like every time a do a change thats more than 2 lines, blam. nothing works
  • l

    little-river-49422

    05/28/2019, 4:28 PM
    I'd have no idea how to use this for anything serious
  • s

    stocky-spoon-28903

    05/28/2019, 4:32 PM
    Personally I can’t suggest anything else here - I’ve not experienced these problems on any infrastructure including very large stacks. Perhaps @big-piano-35669 or @white-balloon-205 can help here?
  • w

    white-balloon-205

    05/28/2019, 4:33 PM
    @little-river-49422 I'll follow up in DM - would like to understand more details on the problems you are seeing here.
    👍 1
  • b

    big-glass-16858

    05/31/2019, 2:29 PM
    Hi there, is
    register_outputs()
    mandatory in a
    ComponentResource
    to use a variable output in another top level resource ? or can i reference directly the
    ComponentResource
    class property ?
    w
    p
    • 3
    • 3
  • b

    big-glass-16858

    06/07/2019, 2:08 PM
    Posting here if someone have an idea on how to do this
    s
    • 2
    • 3
  • l

    little-river-49422

    06/07/2019, 2:28 PM
    hey folks, Luke** doesnt seem to respond, any ideas on the issue I talked with him? were you able to repro?
    w
    • 2
    • 1
  • l

    little-river-49422

    06/07/2019, 3:00 PM
    jesus, my typos are getting ridiculous
  • s

    straight-napkin-70642

    06/11/2019, 1:43 PM
    I can't find this terraform resource in pulumi-aws https://www.terraform.io/docs/providers/aws/r/default_vpc.html Are these "advanced" resources available yet in pulumi?
    s
    • 2
    • 4
  • f

    fierce-state-11693

    06/14/2019, 3:03 PM
    With terraform, we can use
    count
    to create a loop for creating resources. I'm able to get the output of those resources in a list with the following.
    output "public_subnet_ids" {
      value = ["${aws_subnet.public.*.id}"]
    }
    I'm trying to replicate this behavior with pulumi but cannot figure out how to get the same output list using export. I'd appreciate any help.
  • s

    stocky-spoon-28903

    06/14/2019, 3:06 PM
    You can use a list comprehension
Powered by Linen
Title
s

stocky-spoon-28903

06/14/2019, 3:06 PM
You can use a list comprehension
View count: 1