• c


    4 months ago
    Hi all, I am new to Pulumi and just wanted to check whether its possible to generate the ARM or CloudFormationTemplate from Pulumi code?
  • r


    4 months ago
    Hi. I am an avid Pulumi enthusiast. I want to share a project I have been working on that I hope might find someone's interest here. It is cost estimations for Pulumi, such that you always know what your infrastructure code will cost before you deploy it to the cloud. I have built a prototype that works with a couple Azure resources, but it is still under development. If you are interested you can find out more here and sign up to my email list so I know that you find this useful, since it takes a lot of time to develop this : https://cloudcostify.app/ Thanks for your time.
    10 replies
    Copy to Clipboard
  • l


    4 months ago
    Is there an integration to manage slack apps (webhooks, etc)? I don’t see one (and the regular slack integration doesn’t have it) but figured I’d ask in case there was something in development.
  • h


    4 months ago
    Hello all! New to Pulumi here, I'm currently looking for a solution that imports all of our AWS infrastructure to IaC. Tried Terracognita and Terraformer as well but Pulumi seems to be the right tool for the job. Will the "pulumi import" tool be able to import the entire infrastructure or will it have to be 1 by 1?
  • s


    3 months ago
    Hi all, I have an ApplicationLoadBalancer (awsx.elasticloadbalancingv2.ApplicationLoadBalancer) that I create in my base network stack that listens to all subdomain requests (*.domain.com), in a higher level application stack I want to add a ListenerRule that points to a ApplicationTargetGroup using the ApplicationLoadBalancer but I can't seem to find a way in doing so using the TypeScript SDK. Can anyone point me in the right direction? Thanks. Here is a pseudo code of what i've tried so far and the error I get:*Base network stack
    const alb = new awsx.elasticloadbalancingv2.ApplicationLoadBalancer ........
    const appListenerHttps = alb.createListener.......
    const zone  = aws.route53.getZoneOutput({name:domainAddress})
    const albDomain = new aws.route53.Record(`domain-record`, {
        name: pulumi.interpolate `*.${domainAddress}`,
        zoneId: zone.zoneId,
        type: 'CNAME',
        records: [appListenerHttps.endpoint.hostname]
    export const albListenerArn = appListenerHttps.listener.arn
    export const albArn = alb.loadBalancer.arn
    *Application stack
    const networkingStack = new StackReference(config.require('stack.networking'));
    const alb =   aws.applicationloadbalancing.getLoadBalancerOutput({arn:networkingStack.getOutput('albArn')});
    const targetGroup = new awsx.elasticloadbalancingv2.ApplicationTargetGroup(
            loadBalancer: new awsx.elasticloadbalancingv2.ApplicationLoadBalancer('alb',{
               loadBalancer:alb <----error: Type 'GetLoadBalancerResult' is missing the following properties from type 'LoadBalancer': enableCrossZoneLoadBalancing, namePrefix, tagsAll, urn, getProvider
    const itoolListener = new aws.lb.ListenerRule(
            listenerArn: networkingStack.getOutput('albListenerArn'),
            priority: 100,
            actions: [
                type: 'forward',
                targetGroupArn: targetGroup.targetGroup.arn
            conditions: [
                hostHeader: {
                  values: [pulumi.interpolate`test.${domainAddress}`]
  • a


    3 months ago
    Hi All, does pulumi supports a native way to apply some resources to a specific stack only?. Say I have 3 VM instances that I am preparing to be rolled out on staging stack only, and not yet ready to roll to prod stack, how can I enforce Pulumi to ignore these resources if someone do
    pulumi up
    on prod stack?
    8 replies
    Copy to Clipboard
  • a


    3 months ago
    Hello, I am using Pulumi and Localstack to run a stack. I'm running into a problem with an ECS cluster. I start it using this code and it starts succesfully.
    const ecsCluster = new aws.ecs.Cluster(
          name: 'test',
    awslocal ecs describe-clusters --cluster test --region eu-central-1
    shows this
      "clusters": [
          "clusterArn": "arn:aws:ecs:eu-central-1:000000000000:cluster/test",
          "clusterName": "test",
          "status": "ACTIVE",
          "registeredContainerInstancesCount": 0,
          "runningTasksCount": 0,
          "pendingTasksCount": 0,
          "activeServicesCount": 0
      "failures": []
    But when I do
    pulumilocal down
    I get this error
    error: deleting urn:pulumi:localstack::Development::aws:ecs/cluster:Cluster::test: 1 error occurred:
        	* error waiting for ECS Cluster (arn:aws:ecs:eu-central-1:000000000000:cluster/test) to become Deleted: couldn't find resource (21 retries)
    Even though it does exist. It does however get deleted properly
  • t


    3 months ago
    hi, i'm trying to set up a FargateService with a non-default VPC and I keep running into this error on preview
      pulumi:pulumi:Stack (toronto):
        error: Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
            * no matching EC2 VPC found
            at Object.callback (/home/julian/betx/infra/node_modules/@pulumi/runtime/invoke.ts:162:33)
            at Object.onReceiveStatus (/home/julian/betx/infra/node_modules/@grpc/grpc-js/src/client.ts:338:26)
            at Object.onReceiveStatus (/home/julian/betx/infra/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
            at Object.onReceiveStatus (/home/julian/betx//infra/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
            at /home/julian/betx/infra/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
            at processTicksAndRejections (node:internal/process/task_queues:78:11)
    i am using a custom VPC for an ECS service, but trying to do
    pulumi up -v 4...7
    doesn't seem to show anything useful. how can I debug this? for reference, i deleted the default VPC.
    1 replies
    Copy to Clipboard
  • i


    3 months ago
    Still seems like there’s a good opportunity to abstract away IAM policies in Pulumi, e.g. define a link between a lambda and another lambda, or an S3 bucket, and immediately get generated for you: • sensible and customizable IAM policies (e.g. invokeLambda, getObject) • environment variables in the lambda (ARN of other lambda or s3 bucket name)
  • r


    3 months ago
    Hi. Does anyone know why one needs to define two environment variables to support the
    google native
    provider and
    Google Cloud Key Management Service (KMS)
    provider? Pulumi uses:
    to support:
    Pulumi in a non-interactive setting (for example CI/CD systems, where a person can not complete the normal gcloud auth application-default login flow).
    which I have configured since Day 1. However, I recently changed secrets provider to Google's KMS service and I now must also define the
    envvar with the same creds..? Why the need for 2 x envvars?