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
1
vote
1 answer

Pulumi / AzureKeyVault import / SkuName mismatch

I am trying to import existing Azure KeyVault resource into Pulumi (C#, pulumi 2.11.2). I am heaving a problem with specifying right SkuName ("Standard" according to Azure Resource Explorer). If I set it to: "Standard", I am getting: error:…
1
vote
1 answer

Add volumes and files to a container in Azure using Pulumi

I'm starting to use Pulumi for container deployment in Azure cloud. At the moment I am facing problems because I need to load some configuration files to a container of Traefik but I cannot find the correct way. The idea is that Traefik works as a…
elMor3no
  • 45
  • 3
1
vote
1 answer

How does one associate SSH keys with a Google Compute Engine?

I know how to create a Google Compute Engine instance using pulumi, but how does one associate an SSH key with it at creation time?
Gili
  • 86,244
  • 97
  • 390
  • 689
1
vote
0 answers

How can I using Pulumi get continuous deployment between ACR and AppService container?

I want to create a Pulumi script that automatically creates an instance of an App-Service and tie it with a newly created Azure Container Registry. The goal is to get an automatic update of my AppService when i push a new image to the registry. So…
Joe Markov
  • 221
  • 1
  • 10
1
vote
0 answers

Pulumi pods failed to fully initilialize or become live in gcp

When trying to run deploying a scdf chart using helm, pulumi up returns errors with the services not being able to find pods. Here is an example of the errors the Kubernetes API server reported that "jc-scdf-prometheus-server" failed to fully…
josh-pmi
  • 11
  • 3
1
vote
1 answer

Typescript promise help needed

I'm new to typescript and nodejs but need to do some fix on the typescript code. I need to run an ECS one-off task using Pulumi, and I have documentation on how we should run the task from…
1
vote
1 answer

How can I bind my existing programs to Pulumi?

I'm starting to work with Pulumi for IaC design of my project but I'm having a hard time in understanding how to bind my existing code to the use of Pulumi. For example, suppose I've made a lambda function in python with the following content: #…
Teodoro
  • 1,194
  • 8
  • 22
1
vote
4 answers

Pulumi, how to export values coming from async function?

In my Pulumi project, in the index.ts file I have to call const awsIdentity = await aws.getCallerIdentity({ async: true }); So for this reason I have to wrapp all my code into async function. My problem is with exported variables at the end of the…
Tigran Sahakyan
  • 363
  • 1
  • 5
  • 10
1
vote
1 answer

pulumi times out importing gcp record set

I have some dns records I'm trying to import with pulumi, and they fail somewhat bluntly with this error: Diagnostics: gcp:dns:RecordSet (root/my.domain./NS): error: Preview failed: refreshing…
Sebastian Nemeth
  • 5,505
  • 4
  • 26
  • 36
1
vote
0 answers

Using pulumi Vs aws cdk for infrastructure provisioning

I recently cake to know about pulumi and its capabilities for provisioning infrastructure. I want to draw a comparison between pulumi and aws cdk Can any tell me what are features that pulumi supports and aws cdk cant? I went through the…
Umar Tahir
  • 585
  • 6
  • 21
1
vote
1 answer

Could not validate provider configuration: 2 errors occurred - Invalid or Unknown Key Pulumi

I'm currently using Pulumi TypeScript's Infrastructure as Code and I've been enjoying it so far. Unfortunately, I've hit a major roadblock. I was trying to create a SSM Parameter's store in my Pulumi config: const config = new…
Jose A
  • 10,053
  • 11
  • 75
  • 108
1
vote
1 answer

Read local state/checkpoint values Pulumi

TL;DR. I would like to ready output from previous stack in newer one with local Pulumi stack saving. For example to create a AWS Fargate ECS cluster in previously created VPC/Subnets. How to do that in Python? I've created dev Pulumi stack, applied…
1
vote
1 answer

Pulumi push docker image to GCR

I'm learning how to use Pulumi and I'm wondering I can correctly configure pulumi to push images to GCR. I have the following in index.ts const appImage = new docker.Image("ledgerImage", { imageName: 'us.gcr.io/qwil-build/ledger', build:…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
1
vote
2 answers

How to prevent pulumi from stripping newlines from output?

I am using the Typescript API of pulumi. I noticed that when I invoke console.log("\n\n"), pulumi strips out the newlines. I want to keep these newlines to improve the readability of the deployment log. Is there a way to instruct pulumi to keep…
Gili
  • 86,244
  • 97
  • 390
  • 689
1
vote
2 answers

How to trigger custom function on lifecycle events?

How do I instruct Pulumi to invoke my custom Typescript function when pulumi up or pulumi destroy is invoked from command-line? I tried invoking my function from the main code block, but it is getting invoked multiple times on pulumi up. Further,…
Gili
  • 86,244
  • 97
  • 390
  • 689