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

    orange-tailor-85423

    01/17/2019, 10:04 PM
    -.txt
  • o

    orange-tailor-85423

    01/17/2019, 10:04 PM
    Attempting to destroy my stack and seeing this
    w
    • 2
    • 11
  • o

    orange-tailor-85423

    01/17/2019, 10:29 PM
    Current_state_of_stack.php
  • a

    acceptable-air-67821

    01/17/2019, 11:18 PM
    Hello. Hi guys, my name is Christian. I’m here trying to figure out why I am getting this message:
    Previewing update (benton-uat0):
    
         Type                     Name                             Plan       Info
     +   pulumi:pulumi:Stack      benton-benton-uat0               create
     +   ├─ pulumi:providers:aws  eu-west-1-provider               create
     +   └─ aws:ec2:Vpc           uat-backend-vpc9098098090909809  create     1 error
    
    Diagnostics:
      aws:ec2:Vpc (uat-backend-vpc9098098090909809):
        error: Duplicate resource URN 'urn:pulumi:benton-uat0::benton::aws:ec2/vpc:Vpc::uat-backend-vpc9098098090909809'; try giving it a unique name
    
    error: an error occurred while advancing the preview
    I’ve tried renaming the resource, deleting the stack then creating it again, using another stack, and nothing helps. I keep getting the same error.
  • a

    acceptable-air-67821

    01/17/2019, 11:21 PM
    Nevermind. Just realized I was calling a function twice after a branch merge.
    👍 1
  • m

    miniature-potato-84713

    01/18/2019, 1:51 AM
    Does anybody here have experience with the performance of Lambda@Edge functions? Is it possible that they slow down the loading speed of a static S3 hosted website?
    f
    • 2
    • 2
  • c

    colossal-thailand-53880

    01/18/2019, 4:19 AM
    Is it possible to prevent certain values from being stored in the Pulumi State file? (For example, RDS Passwords and K8S Secrets). I don't need to track changes to these values - it is possible to tell Pulumi to using a value while provisioning and then discard?
    w
    • 2
    • 1
  • a

    acceptable-air-67821

    01/18/2019, 7:16 PM
    Hey, guys. I’ve been trying to create an elastic beanstalk application using pulumi but nothing shows in the web console.
  • a

    acceptable-air-67821

    01/18/2019, 7:16 PM
    even though I get the resource in the stack in my pulumi console
    s
    • 2
    • 16
  • c

    chilly-photographer-60932

    01/18/2019, 9:44 PM
    Does
    pulumi
    have a docker image?
    s
    • 2
    • 11
  • w

    wide-easter-61599

    01/18/2019, 9:53 PM
    I'm trying to run the pulumi/kubernetes-the-prod-way stack but it can't create the network. https://github.com/pulumi/kubernetes-the-prod-way/tree/master/gcp/infrastructure I added rolebindings for roles/compute.networkAdmin and roles/compute.securityAdmin to the user that the identity stack produces for this stuff, but I get an error when it tries to create the network. See thread for full error.
    s
    c
    c
    • 4
    • 75
  • w

    wide-easter-61599

    01/18/2019, 9:54 PM
    has anyone else used that guide successfully?
  • s

    some-waitress-78905

    01/19/2019, 3:58 AM
    s3 bucket name needs to be in domain format (www.example.com) for website to work https://pulumi.io/quickstart/aws/tutorial-s3-website.html... how do you set s3 bucket name exact without it appending random string to the end of the name?
  • s

    some-waitress-78905

    01/19/2019, 4:26 AM
    ok, setting the arn did the trick
  • h

    helpful-advantage-49286

    01/19/2019, 9:28 PM
    When I use k8s to create an ingress controller on GCP, what is the easiest way to get the instance to that loadbalancer to do additional configuration on its settings/healthchecks/etc?
    c
    • 2
    • 20
  • r

    rapid-hairdresser-62654

    01/20/2019, 6:17 PM
    Wrong channel, sorry. I joined the channel on Mobile Android and didn't see the channel preferences to share among android apps also changed the default slack channel.
  • f

    faint-motherboard-95438

    01/20/2019, 7:35 PM
    Is there any way to rollback a
    pulumi config set
    which has by mistake ran on the wrong stack and erased a secret value ?….😓
    w
    • 2
    • 2
  • p

    powerful-football-81694

    01/20/2019, 9:08 PM
    Hi guys! As you know, when configuring an Azure AppService, it is possible to pass connection strings and app settings through the
    AppServiceArgs
    type defined in
    appService.d.ts
    . However, I'm wondering how the dependency tracking would work with app settings considering how they are defined. Connection strings are passed like this:
    readonly connectionStrings?: pulumi.Input<pulumi.Input<{
            name: pulumi.Input<string>;
            type: pulumi.Input<string>;
            value: pulumi.Input<string>;
        }>[]>;
    This seems fine to me, as it's using
    Input
    on all three levels. However, app settings are passed like this:
    readonly appSettings?: pulumi.Input<{
            [key: string]: any;
        }>;
    Will this work as expected if I pass an
    Output
    as one of the values in that object? I.e. will it correctly create a dependency?
    • 1
    • 2
  • p

    powerful-football-81694

    01/20/2019, 10:09 PM
    <newIssue/> Trying to execute a Pulumi program in a CI/CD context on Azure DevOps. I'm using a service principal to authenticate to Azure, and all the relevant credentials are passed in as environment variables, i.e. ARM_TENANT_ID, ARM_CLIENT_ID, ARM_CLIENT_SECRET. However, Pulumi complains that a subscription ID must be selected:
    2019-01-20T21:10:36.7285438Z ++ pulumi stack select retrospect-svcReplika-dev
    2019-01-20T21:10:36.8068556Z Logging in using access token from PULUMI_ACCESS_TOKEN
    2019-01-20T21:10:37.6949041Z ++ pulumi up --yes
    2019-01-20T21:10:38.3934068Z Previewing update (retrospect-svcReplika-dev):
    2019-01-20T21:10:39.1496598Z 
    2019-01-20T21:10:39.9270466Z     pulumi:pulumi:Stack RetrospectSvcReplika-retrospect-svcReplika-dev running 
    2019-01-20T21:10:41.8484053Z     azure:core:ResourceGroup retrospect-dev-svcReplika  error: Error building AzureRM Client: 1 error(s) occurred:
    2019-01-20T21:10:41.8590405Z     azure:core:ResourceGroup retrospect-dev-svcReplika  1 error
    2019-01-20T21:10:41.8592885Z  
    2019-01-20T21:10:41.8598421Z Diagnostics:
    2019-01-20T21:10:41.8629164Z   azure:core:ResourceGroup (retrospect-dev-svcReplika):
    2019-01-20T21:10:41.8629332Z     error: Error building AzureRM Client: 1 error(s) occurred:
    2019-01-20T21:10:41.8629385Z     
    2019-01-20T21:10:41.8629475Z     * A Subscription ID must be configured when authenticating as a Service Principal using a Client Secret.
    2019-01-20T21:10:41.8629532Z  
    2019-01-20T21:10:42.1712727Z error: an error occurred while advancing the preview
    It makes sense that I would need to specify a subscription ID somewhere, but I just can't figure out where. Is there a separate environment variable that should be set for that? Setting it using Azure CLI doesn't seem like a viable option in this case, because Pulumi is doing the authentication itself as part of the
    up/preview
    commands, and the subscription would need to be selected after that...
    s
    h
    • 3
    • 20
  • a

    acceptable-air-67821

    01/21/2019, 10:49 AM
    I’m still having this issue. Is there someone available to help me out. 🙏
    g
    • 2
    • 2
  • g

    gifted-island-55702

    01/21/2019, 1:07 PM
    Hi, after upgrading (via brew) to 0.16.11 I’m getting info about new version available during any pulumi command:
    warning: A new version of Pulumi is available. To upgrade from version '0.0.0' to '0.16.11', visit <https://pulumi.io/install> for manual instructions and release notes.
    w
    • 2
    • 1
  • r

    rapid-hairdresser-62654

    01/21/2019, 1:55 PM
    Quick question... does Pulumi also provide a solution for on premise or private scenarios or is the SaaS platform the only entry point?
    g
    • 2
    • 1
  • b

    better-rainbow-14549

    01/21/2019, 4:18 PM
    2019-01-21T16:17:44.1917676Z     warning: urn:pulumi:development::development::azure:ad/application:Application::db-admin verification warning: The Azure Active Directory resources have been split out into their own Provider.
  • s

    stocky-spoon-28903

    01/21/2019, 4:29 PM
    @better-rainbow-14549 For now that is just a warning. We’ll likely fix it next week
    b
    • 2
    • 2
  • q

    quiet-wolf-18467

    01/21/2019, 4:30 PM
    I don't suppose anyone is working on a Pulumi Controller for Kubernetes that maintains a a stack config in a ConfigMap and state within a secret?
    🤔 1
  • q

    quiet-wolf-18467

    01/21/2019, 5:26 PM
    Ideally I'd deploy a
    kind: PulumiEnvironment
    which contained the config and the controller executed the
    pulumi up
    in-cluster, storing the state to a secret.
    s
    w
    • 3
    • 3
  • i

    incalculable-angle-91273

    01/21/2019, 7:32 PM
    I’m trying to use the
    getOutput
    method to get the values of slice from another stack. I get this error
    error: TypeError: subnetIds is not iterable
    . But my outputs from the other stack looks like this:
    ▶ pulumi stack output
    warning: A new version of Pulumi is available. To upgrade from version '0.0.0' to '0.16.11', visit <https://pulumi.io/install> for manual instructions and release notes.
    Current stack outputs (3):
        OUTPUT     VALUE
        subnetIds  ["subnet-0b7bf0c5d120c55d6","subnet-09f0c4ca405279bfc","subnet-0db5a0bc978a313a6"]
    I can get single values without problems (i.e. not lists). Does someone have an example of using
    getOutput
    on a list?
    c
    w
    • 3
    • 6
  • b

    busy-umbrella-36067

    01/22/2019, 12:15 AM
    any idea how I could get values under
    aws.acm.Certificate.domainValidationOptions
    with the aws provider? The below does not work.
    // create wildcard certificate
      let awsCertificate = await new aws.acm.Certificate("XXXXXXX", {
        domainName: `*.rpc.${environment.dns}`,
        validationMethod: 'DNS'
      })
    
      let certVerificationRecord = new aws.route53.Record("XXXXXXX", {
        name: awsCertificate.domainValidationOptions.resourceRecordName,
        records: [awsCertificate.domainValidationOptions.resourceRecordValue],
        type: "TXT",
        zoneId: hostedZone.id,
        ttl: 300
      });
    s
    • 2
    • 10
  • t

    tall-librarian-49374

    01/22/2019, 1:21 PM
    Is there a URL-shortener example made with raw AWS resources? I need it for comparison with the one based on pulumi-cloud (https://github.com/pulumi/examples/tree/master/cloud-ts-url-shortener).
    b
    l
    • 3
    • 12
  • t

    tall-librarian-49374

    01/22/2019, 1:26 PM
    Other examples done in both styles could help too
Powered by Linen
Title
t

tall-librarian-49374

01/22/2019, 1:26 PM
Other examples done in both styles could help too
View count: 1