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

    incalculable-diamond-5088

    10/18/2019, 7:51 PM
    Is there a plan to support providers implemented in a language other tan golang (e.g. typescript)?
    w
    • 2
    • 1
  • w

    worried-city-86458

    10/19/2019, 12:51 AM
    I've updated to latest everything and hit my first hang issue (during preview) running
    pulumi up
    with no significiant changes Ubuntu 18.04.3, nodejs 12.11.1, @pulumi/pulumi 1.3.4, @pulumi/aws 1.7.0, @pulumi/kubernetes 1.2.3 Not sure but is the hang issue supposed to be fixed now?
    w
    • 2
    • 8
  • e

    early-intern-90238

    10/19/2019, 2:27 AM
    So I am getting this error for some reason when running from GitHub. It's very odd, my other repos work but this one which I just created throws this error. I have no idea why...Any thoughts?
    Untitled
    • 1
    • 2
  • h

    handsome-xylophone-18806

    10/19/2019, 11:48 AM
    I follow the official example aws-ts-stackreference (https://github.com/pulumi/examples/tree/master/aws-ts-stackreference) with self-managed backend (locally on filesystem) (https://www.pulumi.com/docs/intro/concepts/state/#self-managed-backend). If I use the default directory
    file://~
    for all projects and run
    pulumi up
    for
    company
    project then
    department
    project, Pulumi will delete the
    company
    stack and create stack for
    department
    . If using Pulumi Backend Service, this statement works:
    new pulumi.StackReference('clstokes/aws-ts-stackreference-company/dev')
    where
    clstokes
    in the example is the Pulumi Backend Service username,
    aws-ts-stackreference-company
    is the project name and
    dev
    is the current stack. If I set backend url, so each project has a separated
    .pulumi
    at it's root directory
    Pulumi.yaml
    backend:
      url: file://./
    Now, how can I get the stack reference of
    company
    or
    department
    in
    team
    project:
    new pulumi.StackReference('???')
    ?
    new pulumi.StackReference('clstokes/aws-ts-stackreference-company/dev')
    will produces error:
    pulumi:pulumi:StackReference (clstokes/aws-ts-stackreference-company/dev):
        error: Preview failed: unknown stack "clstokes/aws-ts-stackreference-company/dev"
    • 1
    • 1
  • c

    cold-coat-35200

    10/19/2019, 12:13 PM
    hi, is it possible to move resources between projects without recreating them? I know I can import a resource from an other project, but I can't remove it from the old one, because I don't want to recreate it, so I have to manually remove from the state file. Is there a better, more automated and less error prone option?
  • e

    early-intern-90238

    10/19/2019, 5:28 PM
    Do I have to do something different for GCP when using StackReference to generate the provider from the kubeconfig? Because it doesn't seem to work for me...
    r
    • 2
    • 2
  • g

    glamorous-printer-66548

    10/19/2019, 5:30 PM
    What is the best place to report bugs and feature requests for the pulumi console? I requested a while ago you guys to open a github project which is just used for issue reporting regarding the console (to be consistent with all other components), but no luck yet šŸ˜ž . cc @gentle-diamond-70147
    g
    • 2
    • 1
  • s

    steep-toddler-94095

    10/20/2019, 10:25 PM
    Sorry if this is a dumb question. I am collaborating on an open source project with a couple others. Would it be against the terms and conditions to use the community edition and share the credentials between users?
    e
    • 2
    • 2
  • t

    tall-rose-87315

    10/21/2019, 5:22 AM
    I am trying to "adopt" an aks cluster, but I cannot seem to match the "servicePrincipal" secret. Is there a secret to this?
    w
    • 2
    • 3
  • m

    miniature-potato-84713

    10/21/2019, 10:05 AM
    Perhaps I’ve missed the message, in which case please disregard. I noticed that Node.js 8.10 will reach EOL end of this year so perhaps a note in the docs would be useful? Something like ā€œSoon to be deprecatedā€ for https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#NodeJS8d10Runtime ? Just a thought.
    t
    • 2
    • 1
  • h

    happy-parrot-60128

    10/21/2019, 10:50 AM
    I’ve also got a question similar to @miniature-potato-84713 - I’m using the `Callback<E, R>`s to create lambdas … which doesn’t allow me to specify the runtime version for the lambda that will be created. Is there any way to set the lambda runtime version whenever I use the Callback type? i.e. is there a config variable something like
    aws:CallbackRuntimeVersion
    ?
    šŸ‘ 1
  • h

    happy-parrot-60128

    10/21/2019, 10:53 AM
    I’m guessing this is related to the
    runtime
    on the
    CallbackFunction
    defaulting to
    NodeJS8d10Runtime
    - so then any
    Callback
    would also get the same default?
  • h

    happy-parrot-60128

    10/21/2019, 10:55 AM
    Is the current fix to convert all uses of
    Callback
    to
    CallbackFunction
    ? Happy to open an issue to look at changing the default to a supported runtime … no idea where to start with fixing it though 🤷 😬
    t
    • 2
    • 6
  • b

    broad-carpenter-48576

    10/21/2019, 12:12 PM
    Is it ok to commit Pulumi.[stackname].yaml to git when using AWS KMS for secrets encryption? It has an
    encryptedkey
    line in there which I’m assuming is the encryption salt which is encrypted using the kms key?
    h
    w
    • 3
    • 3
  • r

    rhythmic-finland-36256

    10/21/2019, 5:04 PM
    [Azure related question]: Does anybody know the required steps to be able to login to pulumi with a ServicePrincipal that has the permissions to create new `Application`s which is basically always required if you want to have the service principal creating new `Application`s, e.g. to have an AKS cluster SP or creating a new SP for ACR Push. Contributor and Owner are not enough. I found that note
    NOTE: If you’re authenticating using a Service Principal then it must have permissions to both
    Read and write all applications
    and
    Sign in and read user profile
    within the Windows Azure Active Directory API.
    on the terraform provider docs. Has anybody used
    azuread
    together with a
    ServicePrincipal
    authentication and can point me the right way?
  • d

    damp-pillow-67781

    10/21/2019, 10:52 PM
    Hi I got error logging in on my new machine, any idea?
    āžœ  pulumi login <https://api.pulumi.com>
    Logging in using access token from PULUMI_ACCESS_TOKEN
    error: problem logging in: failed to get the home path: getting current user: user: unknown userid 1985127753
    w
    • 2
    • 5
  • t

    tall-rose-87315

    10/22/2019, 1:28 AM
    I am trying to create a cluster in a test environment/stack with Pulumi, but I am unable to assign the container registry permissions because my registry is in a different subscription. What is the best practice for Container registries re: different stacks? Do we have a container registry in each stack and then migrate an image between registries when moving to production? (When a build is approved for production I need to use the same exact image that was approved - I don't want to re-build the image. )
  • e

    elegant-dress-88912

    10/22/2019, 2:39 AM
    pulumi suggests replacing k8s configmap even if only
    data
    section is updated. is it a known issue or expected behavior? Can't find it issues on github.
    kubernetes:core:ConfigMap  argocd-cm                 replace     [diff: ~data]
    c
    • 2
    • 36
  • w

    wooden-flower-29265

    10/22/2019, 10:28 AM
    Is it possible to create an AMI using Pulumi instead of Packer?
    b
    • 2
    • 2
  • c

    cold-coat-35200

    10/22/2019, 11:18 AM
    Any idea about this issue? We basically want to break down one of our monolithic stack to micro stacks, without downtime
    b
    b
    • 3
    • 12
  • c

    cool-egg-852

    10/22/2019, 2:24 PM
    Has anyone noticed that the output from pulumi has been really messed up lately?
    s
    g
    • 3
    • 14
  • c

    cool-egg-852

    10/22/2019, 4:48 PM
    When
    up
    fails because a K8s job fails, when running
    pulumi up
    again, shouldn’t it try to replace the job?
    g
    • 2
    • 3
  • c

    crooked-jelly-50877

    10/22/2019, 6:06 PM
    Is the helm cli client required for the Pulumi helm support? In particular -for downloading a chart from the stable repo?
    r
    c
    g
    • 4
    • 6
  • h

    helpful-bear-175

    10/22/2019, 7:30 PM
    How do I view the pulumi parse output of a helm chart?
    w
    • 2
    • 1
  • h

    high-morning-18773

    10/22/2019, 7:54 PM
    Hello, i am not able to figure out how to properly create containerdefinition json file in pulumi(using python), when creating ecs fargate task definition. i stored json values as list in a variable wrote and function that returns json And then set containerdefinition = generatejsob object, but that does not seems to work. i get this error
    raise TypeError(f'Object of type {o.__class__.__name__} '
        TypeError: Object of type Output is not JSON serializable
    .
    w
    • 2
    • 5
  • b

    best-hydrogen-40271

    10/22/2019, 8:21 PM
    Is it possible to get the credentials for a GCP Service Account? I want the credentials.json
  • b

    best-hydrogen-40271

    10/22/2019, 8:28 PM
    so that I can create kubernetes secret containing the file so that my app can eventually pick them up
  • c

    cool-egg-852

    10/22/2019, 8:32 PM
    Yes it is possible.
  • c

    cool-egg-852

    10/22/2019, 8:33 PM
    const serviceAccount = new gcp.serviceAccount.Account(config.project, {
      accountId: config.project,
      displayName: config.project
    });
    
    const key = new gcp.serviceAccount.Key(config.project, {
      publicKeyType: 'TYPE_X509_PEM_FILE',
      serviceAccountId: serviceAccount.name
    });
    
    const gcpCredentials = new k8s.core.v1.Secret('gcp-credentials', {
      metadata: {
        namespace: namespace.metadata.name,
        labels: config.appLabels
      },
      type: 'Opaque',
      stringData: {
        'gcp-credentials.json': key.privateKey.apply(x => Buffer.from(x, 'base64').toString('utf8'))
      }
    });
  • b

    best-hydrogen-40271

    10/22/2019, 8:39 PM
    cheers, very helpful thank you very much
Powered by Linen
Title
b

best-hydrogen-40271

10/22/2019, 8:39 PM
cheers, very helpful thank you very much
View count: 2