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

    early-musician-41645

    11/06/2019, 10:11 PM
    thanks!
  • f

    fresh-summer-65887

    11/06/2019, 11:28 PM
    Am using
    awsx.lb.ApplicationLoadBalancer
    - how do I get the dnsName and zone id so I can setup a route53 alias? Been following https://www.pulumi.com/docs/guides/crosswalk/aws/elb/ however
    ApplicationLoadBalancer
    seems to be missing properties that are found on `LoadBalancer`(https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/alb/#LoadBalancer-dnsName) . Sample code in thread->
    2 replies · 1 participant
  • g

    gray-city-50684

    11/07/2019, 1:37 PM
    Is there a way to tell Pulumi to ignore an attribute of a resource when it decides which resources need to be updated / replaced?
    w
    7 replies · 2 participants
  • b

    busy-magazine-48939

    11/07/2019, 1:57 PM
    Is there a way to execute multiple pulumi stacks in parallel?
    b
    w
    5 replies · 3 participants
  • f

    fierce-cpu-94517

    11/07/2019, 3:47 PM
    Hey, I've added the first team member to our org. pulumi cli commands like preview and up are hanging for them and not completing. output attached.
    w
    3 replies · 2 participants
  • l

    loud-computer-30956

    11/07/2019, 6:35 PM
    Is it not possible to reference an existing ECR repo and use an image here as an ECS service task definition? I can only find examples how to build an existing dockerfile or reference one on Docker Hub.
    s
    3 replies · 2 participants
  • c

    cool-egg-852

    11/07/2019, 8:45 PM
    Anyone know why the passwords for
    gcp.sql.User
    are not automatically encrypted?
    g
    w
    9 replies · 3 participants
  • f

    fresh-flag-12765

    11/08/2019, 2:26 AM
    Any ideas for why this is failing even though the config is clearly there?
    Configuration:
        aws:region: us-east-1
        root:tag: latest
    
         Type                          Name                             Status                  Info
         pulumi:pulumi:Stack           root-dev                         **failed**              1 error
     -   ├─ aws:ec2:SecurityGroupRule  web-listener-external-0-egress   **deleting failed**     1 error
     -   ├─ aws:ec2:SecurityGroupRule  web-listener-external-0-ingress  **deleting failed**     1 error
         ├─ aws:lb:LoadBalancer        root-nlb
         ├─ aws:lb:TargetGroup         tg
         ├─ aws:lb:TargetGroup         web-tg
         └─ aws:ec2:SecurityGroup      web-lb
    
    Diagnostics:
      aws:ec2:SecurityGroupRule (web-listener-external-0-egress):
        error: Plan apply failed: 1 error occurred:
            * missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
        Set a value using the command `pulumi config set aws:region <value>`.
    
      pulumi:pulumi:Stack (root-dev):
        error: update failed
    
      aws:ec2:SecurityGroupRule (web-listener-external-0-ingress):
        error: Plan apply failed: 1 error occurred:
            * missing required configuration key "aws:region": The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
        Set a value using the command `pulumi config set aws:region <value>`.
    a
    2 replies · 2 participants
  • a

    ancient-plastic-80816

    11/08/2019, 6:12 AM
    Just thought that I would share my question into general too, hope that's ok. 🙂 (have read through the docs on the pulumi site, but might have missed something?)
  • b

    boundless-airport-99052

    11/08/2019, 9:26 AM
    Hello, I’m looking for a way to ouput a resource state during update (not updated, created, updated, replaced, …) in order to trigger some script depending of this status. Is there a way to get it? (I use typescript)
  • b

    boundless-airport-99052

    11/08/2019, 11:25 AM
    To give more details about the usecase: When I update the
    max_prepared_transactions
    configuration of an Azure PostgresSQL server, I have to restart the database. Neither pulumi nor terraform seems to be able to restart the database. So I want to know if this resource (
    azure.postgresql.Configuration
    ) has been created during the
    pulumi up
    and if true, trigger a manual restart outside of pulumi.
    s
    2 replies · 2 participants
  • b

    better-actor-92669

    11/08/2019, 12:09 PM
    Hi! Is there a way to change regional quotas with pulumi?
    ERROR: (gcloud.container.clusters.create) ResponseError: code=403, message=Insufficient regional quota to satisfy request for resource: "IN_USE_ADDRESSES". The request requires '9.0' and is short '1.0'. The regional quota is '8.0' with '8.0' available.
    
    Open the GCP Console and navigate to IAM & admin -> Quotas.
    Filter the quotas by selecting your region under Location.
    Check the box next to Compute Engine API CPUs, then click EDIT QUOTAS.
    Follow the steps to increase the quota. Quotas are not immediately increased.
    s
    4 replies · 2 participants
  • b

    better-rainbow-14549

    11/08/2019, 12:26 PM
    i'm having a weird issue with TS 3.7.2 and pulumi.all - it seems to think all the parameters are the same type. is this known / is there a workaround please?
    w
    7 replies · 2 participants
  • c

    curved-ghost-20494

    11/08/2019, 1:28 PM
    Hi All, I'm looking to "componentize" or "template" some of my basic Pulumi setup (still learning)". I'd like to be able to do something like
    npm install @mynpm/infra-templates
    and then use `createStaticSite('``www.foo.com``', './projects/foo-dot-com/www')` to abstract away the setup for creating an S3 based static site.
    c
    5 replies · 2 participants
  • c

    curved-ghost-20494

    11/08/2019, 1:29 PM
    Does anyone know what the Pulumi vocab is for describing this? I've seen stack mentioned? I think I can just do it in JS, but then I wouldn't be able to access the exported stack outputs?
    s
    2 replies · 2 participants
  • c

    colossal-plastic-46140

    11/08/2019, 2:13 PM
    Hi Pulumi Folks, Is it possible for the stack files to live in a different directory in which the `__`_`main`_`__.py` lives?
    w
    g
    11 replies · 3 participants
  • b

    better-rainbow-14549

    11/08/2019, 2:13 PM
    yeah e.g.
    pulumi login file://$PWD
  • b

    better-rainbow-14549

    11/08/2019, 2:14 PM
    oh stack files i read state files, ignore me
  • e

    elegant-crayon-4967

    11/08/2019, 8:31 PM
    I’m spinning up an ec2 backed ECS cluster and the ASG creates instances fine and all is good, but the ECS cluster never assigns the instances to it. Does anyone have a good code example of spinning up a simple ec2 backed AWS ECS cluster? I’m using the command
    ecsCluster.addAutoScalingGroup(awsxEcsClusterASG)
    and thought that would be the connection to tie the 2
    c
    2 replies · 2 participants
  • g

    gorgeous-postman-12842

    11/08/2019, 8:56 PM
    new to pulumi here. I tried creating a new azure-typescript project. Deployed it. Doing
    pulumi stack ls
    is always empty. I have logged in using
    --local
  • g

    gorgeous-postman-12842

    11/08/2019, 8:57 PM
    ❯ pulumi stack ls
    NAME  LAST UPDATE  RESOURCE COUNT
  • b

    billions-lock-73409

    11/08/2019, 9:03 PM
    Any thoughts on a multi account strategy using a single Pulumi code base? In my use case we have a non-prod AWS account and a prod account. My initial thought is to just create stacks within the Pulumi project that map to the separate accounts, has anyone done this or something similar (or different)?
  • g

    gorgeous-postman-12842

    11/08/2019, 9:06 PM
    @billions-lock-73409 if my understanding is correct, stacks don't store information about accounts. In my case (Azure), before invoking pulumi, I must be logged in and setup to a specific Azure subscription. Pulumi is agnostic of the fact that I can have multiple accounts and multiple subscriptions.
  • b

    billions-lock-73409

    11/08/2019, 9:10 PM
    Yeah that makes sense, we use Circle for automation of the deployments, but when performing a local deployment we use aws-okta to SSO into the respective accounts. I just wasn’t sure if anyone had any specific workflows with dealing for separate accounts. One example is we need a few resources to exist in the non prod account (s3 buckets) and not in prod, so we’ve just created a specific section where those resources are only included during build if the stack matches a specific environment.
  • g

    gorgeous-postman-12842

    11/08/2019, 9:17 PM
    @billions-lock-73409 a better approach to avoid complication would be to script it. In my situation we have automated our ARM Template deployments using Powershell scripts which take custom parameters and ensure the deployment is done to the provided environment in addition to some other custom logic.
  • b

    billions-lock-73409

    11/08/2019, 9:18 PM
    Okay, I see. So your deployments are push-button style and not automated? (we have a pause in place after the preview runs on circle)
  • g

    gorgeous-postman-12842

    11/08/2019, 9:18 PM
    The issue I mentioned about
    pulumi stack ls
    yielding empty result, I have commented on an existing bug here: https://github.com/pulumi/pulumi/issues/2679#issuecomment-551992056 Possibly it should be a new bug.
  • g

    gorgeous-postman-12842

    11/08/2019, 9:21 PM
    @billions-lock-73409 Sadly, ARM deployments for us have to be done manually using the powershell scripts I mentioned. ARM doesn't provide a
    destroy
    functionality so one needs to be very cautious while using it. Also, our infra deployments are not done daily. We have decent setup of ARM and corresponding template files but by design ARM leaves a lot to be wanted.
  • b

    billions-lock-73409

    11/08/2019, 9:22 PM
    Gotcha
  • b

    billions-lock-73409

    11/08/2019, 9:22 PM
    Thanks for the feedback 👍
Powered by Linen
Title
b

billions-lock-73409

11/08/2019, 9:22 PM
Thanks for the feedback 👍
View count: 1