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

Azure Application to authenticate users

I’m trying to create an .NET console application to authenticate users for an Azure function app. I want to authenticate users using their AD credentials and then create a token based on that. I believe I need to enable “Public client flows” in…
1
vote
1 answer

Fastly 400 error "exceeding_max_backends" when creating Fastly Service through pulumi

I sometimes get a 400 error when creating my Fastly Service through pulumi. The error message is below. error: 1 error occurred: * updating urn:my:cdn: 400 - Bad Request: Title: Bad request Detail: Exceeding max_backends: 5 I've had…
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
1
vote
1 answer

Pulumi GitHub Action pulumi/actions@v2: error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?

I'm working on a project that uses Pulumi to provision some infrastructure pieces on Azure. I switched to the new pulumi/actions@v2 Action which was released recently. My GitHub Actions workflow looks like this: name: pulumi-preview-up on:…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
1
vote
1 answer

How do I reference a StringOutput in an AWS IAM policy

I've looked high and low for how to do this. I don't think I have the right terminology. Using Pulumi with Golang how can I reference the ID of some resource in a string. For example, I create a bucket then I want to reference that bucket's ID in an…
Matt Canty
  • 2,395
  • 5
  • 35
  • 50
1
vote
1 answer

Pulumi: how to create an ApplicationPassword and let Azure set the value

I'd like to be able to do the following: Generate an ApplicationPassword without generating the actual value for the password (let Azure do it, similar to the way Azure generates the secret value for you in the UI, or that secretText is a return…
UnknownBeef
  • 418
  • 3
  • 17
1
vote
1 answer

Pulumi cannot access just created keyvault when running as serviceprinciple

I create an Azure KeyVault using Pulumi: var currentConfig = Output.Create(GetClientConfig.InvokeAsync()); var keyvault = new KeyVault(vaultname, new KeyVaultArgs { Name = vaultname, Location = _resourceGroup.Location, ResourceGroupName =…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
1
vote
1 answer

How do I migrate a Pulumi Azure resource to Azure-Nextgen?

I'm trying to migrate the pulumi code for an Azure storage account (which was originally created with the legacy Azure provider) to the Azure-Nextgen provider. The Aliases property isn't working as expected. Is this possible, or am I missing…
UnknownBeef
  • 418
  • 3
  • 17
1
vote
0 answers

Pulumi Import GCP Instance Error in boot_disk property conflict

Basically I've created a basic instance on GCP and used the pulumi import comand: pulumi import gcp:compute/instance:Instance default // And this was the output: gcp:compute:Instance (default): error:…
Roberto Gonçalves
  • 3,186
  • 4
  • 13
  • 27
1
vote
1 answer

Specifying both IPv4 and IPv6 IP types in akamai.EdgeHostName

Pulumi recently updated their Akamai package. There's a new property when creating an EdgeHostName resource called ipBehavior. What do I put as the value for this property when I need the EdgeHostName IP Type to be IPv4 + IPv6? I've attached a…
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
1
vote
1 answer

how to protect resources in a specific Pulumi stack from being deleted

I use Pulumi to bring up my infrastructures in GCP . Pulumi has the stack features that helps you to build multiple replications of the same type of Pulumi's code. So I have dev/stage/prod stack that corresponds to each of the environment we have. I…
Huy Le
  • 37
  • 6
1
vote
0 answers

Creating Global Dynamo table through Pulumi

From the pulumi docs for creating a global dynamo table, creating the global table depends on the replica tables being created first. My Pulumi project is in an asynchronous typescript environment, and I'm creating the replica tables inside the…
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
1
vote
1 answer

pulumi: add web app to key vault access policy, read secrets and set them as app setting

I'm using the azure nextgen provider. Given a key vault vault with a stored secret secret1. How can I add the web app to the key vault's access policies? How can I read the secret (get the url including version) and set it to a web app's…
1
vote
1 answer

How do I disable the version check output in pulumi?

I want to use pulumi in my CI and do commands like this: export DATABASE_PASSWORD=$(pulumi config get dbPassword) but how to I stop this from printing into it: warning: A new version of Pulumi is available. To upgrade from version '2.12.1' to…
Lee Zen
  • 61
  • 3
1
vote
1 answer

Change Pulumi's timeout when deploying Kubernetes resources

When I deploy resources to Kubernetes with Pulumi, if I make a mistake, Pulumi will wait for the Kubernetes resources to be healthy. Type Name …
jaxxstorm
  • 12,422
  • 5
  • 57
  • 67
1
vote
1 answer

Error "error: Duplicate resource URN" when writing same name file to two S3 buckets

I'm trying to create two separate buckets in a stack, but when I try and write a file to the second bucket with the same name as any file in the first I get an error error: Duplicate resource URN…
JSobell
  • 1,825
  • 1
  • 14
  • 10