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

    better-rainbow-14549

    03/08/2019, 2:05 PM
    i think that's the latest binary, 0.17.1 is the application packages
  • s

    sticky-bear-14421

    03/08/2019, 2:09 PM
    the installer link works with 0.17.1 aswell
  • s

    sticky-bear-14421

    03/08/2019, 2:16 PM
    The shell installer will fetch the binary tarball from
    <https://get.pulumi.com/releases/sdk/pulumi-v${VERSION}-${OS}-x64.tar.gz>
  • b

    better-rainbow-14549

    03/08/2019, 2:19 PM
    ah ok
  • b

    better-rainbow-14549

    03/08/2019, 2:19 PM
    fair enough
  • g

    gentle-diamond-70147

    03/08/2019, 2:29 PM
    The latest-version link should be updated later today.
  • c

    cold-piano-21918

    03/08/2019, 6:43 PM
    Is there a way for pulumi to not add the random hex after a resource name? Esp for docker image tags
    g
    • 2
    • 2
  • i

    important-leather-28796

    03/08/2019, 8:20 PM
    Is there a simple way to make everything else in a stack depend on it without explicitly using
    dependsOn
    everywhere? We have multiple stacks e.g. identity, infrastructure, app. In the
    app
    package, we may have multiple stacks deploying to the same cluster from the
    infrastructure
    stack. So in the
    app
    , we want to first ensure a stack-named k8s namespace as a prerequisite for all other components. Do we need to use
    dependsOn
    for everything or is there a simpler way to just make sure the namespace is created first?
    đź’Ż 1
  • i

    important-leather-28796

    03/08/2019, 8:32 PM
    Docs feedback from a newish user that is starting to get along:
    g
    c
    g
    • 4
    • 41
  • w

    white-balloon-205

    03/08/2019, 9:08 PM
    @important-leather-28796 thanks so much for the great and detailed feedback!
  • f

    full-dress-10026

    03/08/2019, 9:34 PM
    What's the difference between
    aws.iam.RolePolicy
    and
    aws.iam.Policy
    ? Does
    RolePolicy
    automatically do the policy attachment?
    s
    • 2
    • 3
  • f

    full-dress-10026

    03/08/2019, 9:35 PM
    BTW I think IAM Roles would be a great place for awsx to improve. It's always so painful figuring out the right combination of things to create an AWS Role.
    w
    • 2
    • 2
  • i

    important-leather-28796

    03/08/2019, 10:13 PM
    I’m seeing
    no resource plugin 'af'
    and not sure how I’m introducing it. I’ve created a
    CustomResource
    , is it pulling it off the beginning of the name for it?
    c
    • 2
    • 14
  • i

    incalculable-diamond-5088

    03/08/2019, 10:42 PM
    Hi, how should I pass a nested structure with array of outputs from resources? Example:
    const samlProvider = new aws.iam.SamlProvider('saml_provider', {...})
    
    const oktaAssumePolicy = pulumi.output(aws.iam.getPolicyDocument({
      statements: [{
        principals: [{
          type: "Federated",
          identifiers: [samlProvider.arn]
        }]
      }]
    }))
    Note the
    statements->principals->identifiers
    g
    • 2
    • 3
  • p

    proud-artist-4864

    03/09/2019, 4:50 AM
    Question about importing existing resources. Other than manually editing a state file, is there a way to do this? What happens if I do a “pulumi refresh” with an empty state file? Will it sort of “import” any of the resources that it finds that match?
    👍 1
    g
    s
    • 3
    • 15
  • w

    witty-gigabyte-30920

    03/09/2019, 5:30 PM
    I've created an Azure Typescript project which currently creates a single VM. I'm now trying to add DSC configuration but I'm starting to get stuck. I have a zipped Powershell script in a GitHub repo and I have had a look at the documentation, but I can't figure out how to reference the zip file URL and configuration function like you would in an ARM template. Can anyone help or are there any examples I could take a look at?
    w
    • 2
    • 3
  • l

    lemon-greece-30910

    03/10/2019, 4:50 PM
    is anyone able to advise on how the kubernetes dashboard can be created in pulumi? i am able to create a working cluster with the following config, and then i have exported the
    kubeconfig
    property.
    const cluster = new eks.Cluster(`${name}-cluster`, {
        vpcId: vpc.vpcId,
        subnetIds: vpc.subnetIds,
        desiredCapacity: 1,
        minSize: 1,
        maxSize: 3,
        // storageClasses: "gp2",
        deployDashboard: true,
    })
    
    export const kubeconfig = cluster.kubeconfig
    the output gives me the server address in the kubeconfig json structure:
    kubeconfig: { clusters: [ { cluster: { server: <servername here> } ] }
    ... but if i go to the URL, it gives me the following response:
    {
      "kind": "Status",
      "apiVersion": "v1",
      "metadata": {},
      "status": "Failure",
      "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
      "reason": "Forbidden",
      "details": {},
      "code": 403
    }
    can anyone see what i am doing wrong here?
    m
    • 2
    • 1
  • i

    incalculable-diamond-5088

    03/10/2019, 9:51 PM
    Hi, I’m trying to create an EKS cluster and get this error:
    Method handler checkConfig for /pulumirpc.ResourceProvider/CheckConfig expected but not provided
        Method handler diffConfig for /pulumirpc.ResourceProvider/DiffConfig expected but not provided
        unable to recognize "/var/folders/28/z072xy4d5970vkd6l3vb_r780000gn/T/tmp-32396RlquTqkLiKdX.tmp": Unauthorized
        unable to recognize "/var/folders/28/z072xy4d5970vkd6l3vb_r780000gn/T/tmp-32396RlquTqkLiKdX.tmp": Unauthorized
        unable to recognize "/var/folders/28/z072xy4d5970vkd6l3vb_r780000gn/T/tmp-32396RlquTqkLiKdX.tmp": Unauthorized
        unable to recognize "/var/folders/28/z072xy4d5970vkd6l3vb_r780000gn/T/tmp-32396RlquTqkLiKdX.tmp": Unauthorized
        unable to recognize "/var/folders/28/z072xy4d5970vkd6l3vb_r780000gn/T/tmp-32396RlquTqkLiKdX.tmp": Unauthorized
    w
    • 2
    • 5
  • c

    cuddly-lizard-88530

    03/11/2019, 4:04 AM
    Is it safe to store stack definition JSON file in git or any other recommendations for keeping state synced for local use?
    b
    • 2
    • 1
  • c

    cuddly-lizard-88530

    03/11/2019, 4:05 AM
    And note on that, it seems to be impossible right now to set the dir for state keeping. This would be a useful feature for CI situations, where I want to store this state in some special location, rather than in
    ~/.pulumi/stacks/
    .
  • c

    cuddly-lizard-88530

    03/11/2019, 4:07 AM
    Another question, not Pulumi related, but relevant. Does anyone know how to reset minikube quickly? The delete/create is too slow. For when I was working with Ansible and Vagrant a lot, I used to just snapshot the VM and then rollback, which was super fast. But I don't see this option with minikube.
    • 1
    • 2
  • f

    few-processor-86645

    03/11/2019, 8:13 AM
    In an Azure Webapp, how do I enable App Service authentication with an existing AD application? (Selecting the Express config with an existing AD App via the portal) I have created an azure.ad.Application and azure.ad.ServicePrincipal but I can't find how to add the "Sign in and read user profile" to the application
  • b

    better-rainbow-14549

    03/11/2019, 9:45 AM
    there's a linebreak after $latest on https://pulumi.io/latest-version now
  • b

    better-rainbow-14549

    03/11/2019, 9:45 AM
    Downloading https://get.pulumi.com/releases/sdk/pulumi-v0.17.1 -windows-x64.zip
  • b

    better-rainbow-14549

    03/11/2019, 9:45 AM
    the update script in powershell is broken because of it
  • b

    better-rainbow-14549

    03/11/2019, 9:46 AM
    The remote server returned an error: (403) Forbidden.
    s
    • 2
    • 2
  • c

    cuddly-lizard-88530

    03/11/2019, 11:52 AM
    Any tips on testing pulumi Kubernetes deployments?
  • c

    cuddly-lizard-88530

    03/11/2019, 11:52 AM
    And any general Kubernetes tips are welcome too. I’m new to Kubernetes, and not sure what and how to test.
  • c

    cuddly-lizard-88530

    03/11/2019, 11:54 AM
    Would love to be able to run pulumi programmatically and then store snapshots and test via jest.
  • c

    cuddly-lizard-88530

    03/11/2019, 11:55 AM
    Maybe snapshot of changes to be applied. But also snapshots of the Kubernetes cluster state. Or namespace state.
    c
    • 2
    • 1
Powered by Linen
Title
c

cuddly-lizard-88530

03/11/2019, 11:55 AM
Maybe snapshot of changes to be applied. But also snapshots of the Kubernetes cluster state. Or namespace state.
c

creamy-potato-29402

03/11/2019, 7:08 PM
@cuddly-lizard-88530 what sorts of things are you trying to test?
View count: 2