Questions tagged [pulumi]

Pulumi is a platform for building and deploying cloud infrastructure and applications with code

Pulumi is a modern infrastructure as code platform that allows developers to use familiar programming languages and tools to build, deploy, and manage cloud infrastructure.

Describe your resources in code – VMs, networks, databases, containers, serverless functions – and the CLI will safely and reliably manage your cloud resources using an infrastructure-as-code approach. As a language-neutral IaC platform, Pulumi doesn't force developers to learn new programming languages, nor does it use domain-specific languages.

By using general purpose languages, developers can use IDEs, test frameworks, and package managers to build the infrastructure. The result is far less copy and paste and greater productivity, and it works the same way no matter which cloud you're targeting.

460 questions
3
votes
1 answer

Azure Bot channel error "There was an error sending this message to your bot: HTTP status code Unauthorized"

I'm getting Unauthorized error when try to send message from azure Bot channel to api. I have deployed azure app and Bot channel with pulumi. In azure application I have noticed that there is a warning in authentication section about Implicit…
3
votes
3 answers

Get existing VPC for use within a Pulumi stack

I'm trying to use Pulumi within a somewhat restricted AWS environment. This sandbox requires that I use a specific VPC, and there is no default VPC. I have tried the examples showing how to reference an existing VPC, but they all fail with some…
Michael Robinson
  • 29,278
  • 12
  • 104
  • 130
3
votes
1 answer

How do you get a resource's region in Pulumi

I have a Cognito user pool in Pulumi and I need to reference its region in another resource. How does one get the region for a resource in Pulumi?
Michael Golfi
  • 31
  • 1
  • 1
3
votes
1 answer

Pulumi Azure Pipeline task

I'm new to Pulumi so I'm struggling at the moment trying to run it in my Azure release pipeline in order to create my infrastructure. During development I've used the local storage to store my pulumi state (pulumi login --local), I've created my…
AndreiC
  • 1,490
  • 4
  • 16
  • 34
3
votes
1 answer

How to pass environment variable to Dockerfile through Pulumi?

I have made a simple flask app to practice Pulumi. It gets env variable set through Dockerfile and I intend to host it on AWS Fargate, and RDS Postgres as database. Here is the Flask app: import os from flask import Flask, request from…
Maverick
  • 2,738
  • 24
  • 91
  • 157
3
votes
1 answer

Pulumi C#: mark stack output as a secret

I'm creating an ACR that will be shared with several stacks and I need the information in the output How can I protect the password output? using Pulumi; using Pulumi.Azure.Core; using Pulumi.Azure.ContainerService; class MyStack : Stack { …
JuChom
  • 5,717
  • 5
  • 45
  • 78
3
votes
4 answers

Pulumi - how to pull a docker image from a private registry?

I've declared a Kubernetes deployment which has two containers. One is built locally, another needs to be pulled from a private registry. const appImage = new docker.Image("ledgerImage", { imageName: 'us.gcr.io/qwil-build/ledger', build:…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
3
votes
1 answer

Pulumi: How to export previous version of Stack?

Is there any way to export previous version of stack? There are pulumi stack export command and I can export current state of stack to the file, but seems CLI not accept version or any flag to specify previous stack. Should I re-import all resource…
guitarrapc
  • 534
  • 5
  • 9
3
votes
1 answer

Pulumi: How to configure ECS service for a CODE_DEPLOY controller

While trying to set up a blue/green deployment I hit the following issue: error: Plan apply failed: Error creating CodeDeploy deployment group: InvalidECSServiceException: Deployment group's ECS service must be configured for a CODE_DEPLOY…
pbn
  • 2,406
  • 2
  • 26
  • 39
3
votes
1 answer

In Pulumi, exist a equivalent to pulumi.Output.apply, but to transform pulumi.Input values?

I'm developing a Pulumi ComponentResource named CopyPostgresql in Typescript. CopyPostgreSql is a Kubernetes job that copy in streaming the content of a source Postgresql database to a target Postgresql database. The options of CopyPostgreSql…
gabomgp
  • 769
  • 1
  • 10
  • 23
3
votes
1 answer

Attach Existing Cloud Resource (ex: S3 Bucket) to a Pulumi Project

Firstly, I love Pulumi. We're trying to propose Pulumi as a solution for a distributed architecture and it is going swimmingly. The uncertainty I have right now is if it's possible to attach an existing cloud resource to the Pulumi…
MikingTheViking
  • 886
  • 6
  • 11
2
votes
0 answers

Unable to retrieve API keys for a Function App using ListWebAppFunctionKeysArgs

How can I retrieve API keys for a function app in Azure using ListWebAppFunctionKeysArgs? I have the following method: public static Output?> Get(string resourceGroupName, FunctionApp functionApp) { var output…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
2
votes
1 answer

Pulumi: How can I retrieve function names from a Function App in Azure?

Using Pulumi, how can I retrieve function names from a Function App in Azure? Objective: My objective is to retrieve all Azure functions and their associated API key for a given Function App. Issue: I am unable to find Pulumi documentation on how to…
Scott Nimrod
  • 11,206
  • 11
  • 54
  • 118
2
votes
0 answers

AWS lambda with Sentry outputs timeout error

I have two AWS lambdas, one of them deployed using Chalice, one of them deployed using Pulumi (an IaC framework similar to Terraform). To be able to have access to Internet and make requests outside, all my AWS lambdas are attached to the same VPC,…
bolino
  • 867
  • 1
  • 10
  • 27
2
votes
0 answers

AWS API Gateway Response not being used

I am using Pulumi to create an AWS API Gateway that proxies to a Lambda backend. The API is used by a web frontend, and my Lambda Function handles CORS in most situations. However, if the Usage Plan for my API key is exceeded, the Gateway sends a…
Dave
  • 967
  • 7
  • 13