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

Pulumi,serviceAccountKey.privateKeyData call back param is null problem

Here is my code in index.ts import {Key, ServiceAccount} from "@pulumi/google-native/iam/v1"; const serviceAccountKey = new Key('service-account-key-' + new Date().toISOString(), { serviceAccountId: serviceAccount.email }); …
3
votes
1 answer

Secret management with terraform cdk

In the past I've used Pulumi which offers a secrets management solution that allows stack based secrets to be checked into git while being encrypted. I've been looking for a similar solution with Terraform CDK and haven't found one. Does Terraform…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
3
votes
0 answers

Problem with expiring kubernetes tokens in pulumi provider

After I create a kubernetes cluster in pulumi, I get the following error when trying to delete it: error: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: the server has asked for the client to…
Julie
  • 123
  • 8
3
votes
3 answers

Helm reads wrong Kubeversion: >=1.22.0-0 for v1.23.0 as v1.20.0

How to deploy on K8 via Pulumi using the ArgoCD Helm Chart? Pulumi up Diagnostics: kubernetes:helm.sh/v3:Release (argocd): error: failed to create chart from template: chart requires kubeVersion: >=1.22.0-0 which is incompatible with…
3
votes
1 answer

is there a way to solve " Kubeconfig user entry is using deprecated API version client.authentication.k8s.io/v1alpha1 " with pulumi

I get the following error message whenever I run a pulumi command. I verified and my kubeconfig file is apiVersion: v1 I updated client.authentication.k8s.io/v1alpha1 to client.authentication.k8s.io/v1beta1 and still have the issue, what could be…
Kaizendae
  • 853
  • 11
  • 24
3
votes
1 answer

pulumi import of k8s service is failing with error "error: Preview failed: resource does not exist

I created a k8s deployment and service with yaml file and tried to import it with pulumi import Following are the Yaml files #Deployment --- apiVersion: apps/v1 kind: Deployment metadata: name: cluster1-pgbouncer namespace: demo labels: …
Chetan
  • 53
  • 5
3
votes
1 answer

Pulumi Automation API doesn't run the Pulumi CLI?

I'm writing a Flask app that uses Pulumi Automation API. I'm following the Automation API project examples. But when I send a POST request I get a Program run without the Pulumi engine available; re-run using the pulumi CLI error. Isn't the…
RabbitG
  • 103
  • 1
  • 8
3
votes
1 answer

Getting Elasticache endpoint using pulumi Typescript

Using Pulumi I'm attempting to get the primary endpoint from an elasticache cluster so I can pass it as an environment variable to a fargate service on aws. For some reason the same process that works for RDS does not work on ElastiCache. pulumi…
mkabatek
  • 1,244
  • 12
  • 23
3
votes
1 answer

How to get the PR (Pull Request) number

I just started using Pulumi and I checked a lot of docs, a lot of repos and just can't find how can I get the PR (Pull Request) number to be used. I know that Pulumi generates an Environment variable/output/config named ci.pr.number. I would like to…
Jonathas Costa
  • 1,006
  • 9
  • 27
3
votes
1 answer

Pulumi issue when packaging infrastructure: Cannot use import statement outside a module

I'm testing a simple Pulumi concept: packaging the infrastructure. I'm using a very simple example for this, I'm trying to deploy a S3 bucket by importing a npm package. Here's my npm bucket npm package: index.ts import * as aws from…
3
votes
2 answers

What's the equivalent of Terraform modules in Pulumi

I've been trying to find the answer of this question regarding the equivalent of Terraform modules in Pulumi, the closest answer is this link to this blog. Bear in mind that I'm a beginner for using Pulumi too. With Terraform, you can create a git…
3
votes
0 answers

Authenticating Pulumi to manage firebase

When tryin to create firebase resources using pulumi I get following error: error: 1 error occurred: Error creating Project: googleapi: Error 403: Your application has authenticated using end user credentials from the Google Cloud SDK or Google…
Mads Buch
  • 344
  • 2
  • 10
3
votes
1 answer

Pulumi error when using Service Principal Login with the connection information in the pulumi config

I am using GitHub Actions to run pulumi-pr.yml I want to be able to deploy to different subscriptions based on the stack. I created an az ad service principle and put the information in the Pulumi config using the following: pulumi config set…
Steven T. Cramer
  • 1,508
  • 1
  • 18
  • 34
3
votes
1 answer

Assign App Service - Identity to KeyVault in Azure using Pulumi

I create an App Service using "classic" Pulumi.Azure: var appservice=new AppService(appserviceName, new AppServiceArgs { Name = appserviceName, Location = _resourceGroup.Location, AppServicePlanId…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
3
votes
1 answer

Setting up load balancer frontend with on GCP with Pulumi

Right now I'm learning how to setup a website served by a GCP bucket using Pulumi however, I've stuck at the last step exposing an IP address and attaching it to the LB. Everything looks good except This load balancer has no frontend configured I…
a11hard
  • 1,904
  • 4
  • 19
  • 41
1 2
3
30 31