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 cli not available after installing it within docker image

I am building a web application that makes use of the Pulumi automation SDK. The application is to be deployed within a linux docker container, so I added the following lines to the Dockerfile: RUN curl -fsSL https://get.pulumi.com | sh ENV…
Avi Nehama
  • 103
  • 1
  • 8
1
vote
1 answer

Pulumi Outputs - create an external config file

I'm working with Cloudrun in GCP and would like to summarise the created APIs with API Gateway. This requires a Swagger/OpenAPI v2 document to be created containing the google generated URLs for the Cloudrun Services. How can I get these from the…
1
vote
2 answers

How do you save Pulumi const output to an aws s3 bucket (typescript)

I'm writing IaC to deploy Amazon EKS in Pulumi + typescript. I am using GitHub Actions as my CI/CD. Currently I can create the EKS cluster via my pipeline with pulumi without issue but I have not figured out a clean way to acquire the resulting…
usrbinkat
  • 11
  • 3
1
vote
0 answers

Create Cognito Identity Pool using Pulumi - roles aren't attached

I followed the Pulumi Cognito.IdentityPool docs but could not link the Identity Pool with the Role using an attachment. This should be very easy: create Identity Pool, create Role, attach Role to Identity Pool. Simple. Unfortunately the code in the…
ChumiestBucket
  • 868
  • 4
  • 22
  • 51
1
vote
0 answers

AWS Lambda/Secrets Manager permission no longer working (Pulumi)

This stack was working at one point... I'm not sure what's going on. This permission is no longer doing what it did before, or has become invalid. I have a Lambda function that rotates a Secret, so naturally it must be triggered by Secrets Manager.…
ChumiestBucket
  • 868
  • 4
  • 22
  • 51
1
vote
2 answers

How do I log a value in Pulumi?

Per Pulumi's documentation for inputs and outputs I am attempting to console.log() a string value of an output. console.log( `>>> masterUsername`, rdsCluster.masterUsername.apply((v) => `swag${v}swag`) ); returns >>> masterUsername…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
1
vote
1 answer

Programmaticaly tagging stack in Pulumi

I would like to programmatically add a tag to a Pulumi stack. Specifically, I want to add a tag named environment with value equal to a name of the Pulumi stack. E.g. if name of the Pulumi stack is staging, I would like to add a tag environment with…
GoodMirek
  • 215
  • 1
  • 10
1
vote
1 answer

AWS PostgreSQL `Cannot find version X for aurora`

Similar to Error creating DB Instance: InvalidParameterCombination: Cannot find version 5.6.10a for aurora-mysql but for Postgres, which has a different cause. * error creating RDS Cluster (mycompany-pulumi-aurora-cluster) Instance:…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
1
vote
1 answer

AWS ECS Fargate Tasks with Spring Boot caught in restart-loop - How to configure LoadBalancer TargetGroup health checks with Pulumi?

I created a simple example Pulumi TypeScript program that should deploy a Spring Boot application into a AWS ECS Fargate Cluster. The Spring Boot app is containerized/Dockerized with the help of Cloud Native Buildpacks/Paketo.io and published to the…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
1
vote
1 answer

Get private subnet ids using Pulumi

I am trying to create a new EKS cluster using Pulumi. In one of the steps, I need to use the private subnet ids. When I try to get the ids using VPCID, it gives the error TSError: ⨯ Unable to compile TypeScript: index.ts(9,2): error TS2322: Type…
1
vote
0 answers

Find public subnets of an existing VPC in pulumi

How can I find the public subnets of an existing aws VPC with pulumi? I have tried several approaches and one that seems to get close is below, but I can't seem to filter on an attribute of the subnet due to how the pulumi.OutputInstance works. If…
Craig
  • 7,471
  • 4
  • 29
  • 46
1
vote
1 answer

How to connect WebAppAzureStorageAccounts to WebApp using Pulumi Azure Native

I am trying to automate what can be done via the Azure portal with the following screen. I have defined a WebApp and a WebAppAzureStorageAccounts When trying to construct the WebAppAzureStorageAccounts I get the following error: error: parent…
Steven T. Cramer
  • 1,508
  • 1
  • 18
  • 34
1
vote
0 answers

How can I manage DNS records on Openstack using Pulumi?

Last month I started using Pulumi to manage an infrastructure on OVH which is using Openstack. Everything when fine until I needed to add the IP of my newly created instance in a RecordSet in a DNS Zone. First of all I set all these Openstack…
1
vote
0 answers

Pulumi: How to restore accidentally deleted state file stored in Azure Storage Account

Is there a way to restore accidentally deleted stacks/state files from backups or histories stored in Azure Storage Account?
Kadir Ercetin
  • 869
  • 8
  • 11
1
vote
2 answers

Pulumi - How do we patch a deployment created with helm chart, when values do not contain the property to be updated

I've code to deploy a helm chart using pulumi kubernetes. I would like to patch the StatefulSet (change serviceAccountName) after deploying the chart. Chart doesn't come with an option to specify service account for StatefulSet. here's my code //…
Hari Prasad
  • 603
  • 8
  • 18