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

    lemon-spoon-91807

    09/26/2018, 10:54 PM
    Oh ok! Yes
  • l

    lemon-spoon-91807

    09/26/2018, 10:55 PM
    'pulumi' does handle ctrl-c, just with that caveat
  • l

    lemon-spoon-91807

    09/26/2018, 11:16 PM
    @proud-tiger-5743 Are you using TypeScript, or just plain JavaScript? TypeScript can help a lot here because the strong types will help indicate what is necessary.
  • p

    proud-tiger-5743

    09/26/2018, 11:16 PM
    JavaScript - but I got it working!
  • p

    proud-tiger-5743

    09/26/2018, 11:17 PM
    And VSCode does a great job with types
  • p

    proud-tiger-5743

    09/26/2018, 11:17 PM
    So I'm good
  • g

    glamorous-printer-66548

    09/27/2018, 12:48 AM
    quick question: when an
    docker.Image
    resource is being deleted, does pulumi also delete the image also on the remote registry?
    b
    w
    • 3
    • 3
  • g

    glamorous-printer-66548

    09/27/2018, 2:27 AM
    @white-balloon-205 @microscopic-florist-22719 Can you please upgrade the pulumi gcp package to use a newer terraform provider version? Currently it seems pulumi gcp is using the terraform provider 1.16.2 but I need a few features from 1.18.0 (particularly Alias IP support for GKE clusters) in order to migrate our terraform code to pulumi. Let me know if I can somehow help to accelerate this procedure.
    👀 1
    b
    • 2
    • 1
  • g

    glamorous-printer-66548

    09/27/2018, 4:14 AM
    Is it possible to set the active (maybe default?) stack in code instead of having each user to set and select an active stack in their environment? There are some pulumi programs where we will always just have 1 stack and it’s kind of annoying that each user still has to choose a stack in order to do any operation. Ideally it’d like to be able select a stack in a config file at the root of the pulumi program. With terragrunt (terraform wrapper) we use a repo layout like this https://github.com/gruntwork-io/terragrunt-infrastructure-live-example/tree/master/non-prod where account.tfvars and terraform.tfvars essentially determine the state location which translates to the stack URN in pulumi. So with terragrunt I would just
    cd
    into the
    non-prod
    directory and run things like
    terragrunt plan
    without having to choose a stack manually or similar. In other words the working directory determines the stack instead of an environment configuration. What about for example specifying the stack name in the Pulumi.yaml? I think in terraform the equivalent of what I want is called the
    default
    workspace (https://www.terraform.io/docs/state/workspaces.html).
  • g

    glamorous-printer-66548

    09/27/2018, 6:30 AM
    @creamy-potato-29402 I’m trying to add an internal upstream dns server in kube-dns via pulumi after a gke cluster has been setup using pulumi. In order to apply the configuration I have to edit the kube-system/kube-dns configmap. Unfortunately this configmap already exists by default in every gke cluster although it’s empty (and maybe all k8s clusters?) so pulumi complains that it already exists. Is there no way I can configure this configmap using pulumi?
  • c

    creamy-potato-29402

    09/27/2018, 8:50 AM
    @glamorous-printer-66548 hmmmmm there is not really a good way to “adopt” resources.
  • c

    creamy-potato-29402

    09/27/2018, 8:50 AM
    I will open a bug, that seems really useful.
  • c

    creamy-potato-29402

    09/27/2018, 8:52 AM
    Actually… I’m not quite sure how this would work
  • c

    creamy-potato-29402

    09/27/2018, 8:53 AM
    @white-balloon-205 how does resource adoption work in AWS? You can adopt CF templates, right?
  • s

    sparse-insurance-40223

    09/27/2018, 11:29 AM
    I'm trying to create resource groups in two separate azure subscriptions but it's telling me there's a name conflict.. any ideas please?
    c
    • 2
    • 5
  • s

    sparse-insurance-40223

    09/27/2018, 11:29 AM
    i've set azure:subscriptionId in the pulumi.stack.yaml
  • w

    white-balloon-205

    09/27/2018, 1:16 PM
    Re: Resource adoption - this is something that can be done with some slightly arduous work today, but which we intend to make much simpler in the very near future. https://github.com/pulumi/pulumi/issues/1662 is tracking this generally.
    c
    • 2
    • 2
  • q

    quiet-wolf-18467

    09/27/2018, 2:09 PM
    I don't know if anyone is a fan of decentralisation, but I've created #pulumi:matrix.org for anyone that's on there 🙂
    👍 1
  • g

    green-london-79864

    09/27/2018, 3:41 PM
    Quick question here - according to the Kubernetes NodeJS doc, when I create a new deployment using
    new k8s.apps.v1.Deployment(name: "some-name")
    , shouldn't
    some-name
    become the resource name? Why does it become appended by a random string?
    s
    c
    • 3
    • 4
  • e

    eager-area-86739

    09/27/2018, 3:45 PM
    Hi community. I'm creating a
    queue
    . Given that I have the queue created, how can I access to the
    url
    ?
    w
    • 2
    • 5
  • w

    wooden-air-15246

    09/27/2018, 3:52 PM
    the api returns the correct results for me now
  • g

    green-london-79864

    09/27/2018, 4:07 PM
    And expanding on the previous question - if using Pulumi locally (as in
    pulumi login --local
    , without an account), is it possible to perform an update operation in a CI/CD environment (that means it does not have any stack / state from previous operations) for Kubernetes?
  • s

    sparse-insurance-40223

    09/27/2018, 4:16 PM
    * 1 Pods failed to run because: [InvalidImageName] Failed to apply default image tag "[object Object].azurecr.io/test:0.1.1": couldn't parse image reference "[object Object].azurecr.io/test:0.1.1": invalid reference format error: an error occurred while advancing the preview
  • s

    sparse-insurance-40223

    09/27/2018, 4:16 PM
    how do I get out of this state please
  • s

    sparse-insurance-40223

    09/27/2018, 4:16 PM
    i know what i did wrong, but preview is broken now 😞
  • c

    creamy-potato-29402

    09/27/2018, 4:17 PM
    Looks like your meant to do a toString. What do you mean the preview is broken?
  • s

    sparse-insurance-40223

    09/27/2018, 4:18 PM
    i've fixed the issue and replaced it with a hardcoded string but pulumi up -r says "error advancing preview"
  • c

    creamy-potato-29402

    09/27/2018, 4:26 PM
    What is the error?
  • c

    creamy-potato-29402

    09/27/2018, 4:26 PM
    Is that the error?
  • c

    creamy-potato-29402

    09/27/2018, 4:27 PM
    If so there is a reasonably high chance that this specific thing is still a problem.
Powered by Linen
Title
c

creamy-potato-29402

09/27/2018, 4:27 PM
If so there is a reasonably high chance that this specific thing is still a problem.
View count: 1