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
0
votes
1 answer

Validate that resource exists before retrieving keys

I create a resource group, and a database account: // Create resourceGroup: var rg= new ResourceGroup("myRG", new ResourceGroupArgs { Name = "myRG", Location = "westeurope" }); //…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
0
votes
1 answer

How to create a Grafana folder through Pulumi

I am able to install and import Grafana dashboards in an Azure Kubernetes Service using Pulumi through a HelmRelease Custom Resource Definition of the kube-prometheus-stack. I was able to do some ConfigMaps to import dashboards that I previously…
0
votes
1 answer

Two identical Azure deployments; one always throws 404 - how to find out what the difference is?

I am deploying a C# ASP.NET Core web service to Azure using Pulumi. I can deploy it in 3 ways: Run it locally from Visual Studio, i.e., not using Azure at all. Deploy it to Azure from my local developer computer. Deploy it to Azure from Jenkins…
Claus Appel
  • 1,015
  • 10
  • 28
0
votes
1 answer

GKE: Google Compute Engine: Required 'compute.networks.get' but permissions are there?

When attempting to create a GKE cluster via gcloud, web console, or pulumi I'm receiving the error: Google Compute Engine: Required 'compute.networks.get. The permission for this account have Owner, Editor, and Compute Admin. Testing for…
a11hard
  • 1,904
  • 4
  • 19
  • 41
0
votes
2 answers

Azure: How to write and read custom log messages in ASP.NET Core application in Azure?

I want to achieve the following: Have custom log statements in my ASP.NET Core web service application. Deploy my application to Azure (in my case using Pulumi). Call the webservice so it triggers the logging code. Read the logged messages, either…
Claus Appel
  • 1,015
  • 10
  • 28
0
votes
1 answer

Add Value to Azure App Configuration using Pulumi

I created an App Configuration using Pulumi: _configurationStore = new ConfigurationStore(appConfigurationName, new ConfigurationStoreArgs { ResourceGroupName = _resourceGroup.Name, Location =…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
0
votes
2 answers

invalid format error when trying to ssh into pulumi-created azure nextgen vm

I'm trying to create & ssh into a virtual machine created with the azure nextgen Pulumi api. I am running Window 10. After I successfully create the VM, for testing purposes I am exporting the private key to a file, reducing the permissions to avoid…
0
votes
1 answer

How to add entries to Pulumi output for environment variables?

I've created an Output for environment variables in Pulumi just like https://github.com/pulumi/examples/blob/master/aws-ts-airflow/index.ts#L61 but I need to add one entry to these env vars for one of the containers I'm spinning up. I'd like to do…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
0
votes
1 answer

pulumi stuck at gcp.organizations.getIAMPolicy

We are using pulumi version 2.18.2 (we tried also with 1.14.1) with GCP provider to create IAM policy on a project. Our code is stuck and we noticed that the issue comes from the following code (minimal reproducible example), that does not complete…
norbjd
  • 10,166
  • 4
  • 45
  • 80
0
votes
1 answer

What class type should I pass to Pulumi arguments to make it work?

I'm trying to pass the tags as a custom object class to Pulumi as an argument because I can set the Name property on a needed basis. The problem is that it doesn't work. Due to the lack of JS/TS knowledge, I don't understand what it wants from…
mate200
  • 13
  • 5
0
votes
1 answer

Input validation fails when importing an Akamai Property into Pulumi

Following the directions for importing an Akamai Property into pulumi, but running a command like pulumi import akamai:index/property:Property example_property prp_00000,ctr_M-00000,grp_000000 gives me the validation error below. Diagnostics: …
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
0
votes
1 answer

Failed to load edgegrid config when importing Akamai property into Pulumi

I am trying out the new import functionality for an Akamai property. When I run the import command inside a pulumi project, I get the error message below. What is this .edgerc file and how can I create it? Type Name …
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
0
votes
1 answer

Uploading kubernetes yaml files from vscode using pulumi

I am doing deployment and I have drafted a YAML manifest file from a reference docker-compose file. After it has been extracted on VScode, I have to upload it to the cluster on Google Cloud Platform, please how do I do that? What is the process of…
Sam Bayo
  • 143
  • 1
  • 11
0
votes
2 answers

How to have Pulumi adopt an Akamai Property

I have an Akamai Property created manually that I would like to import (adopt) through Pulumi. The Pulumi docs have an example for AWS services, but is it possible to adopt an Akamai resource through Pulumi? If so what would the import command look…
Victor Cui
  • 1,393
  • 2
  • 15
  • 35
0
votes
2 answers

I cannot create cluster for Pulumi because the code is flagging, please assist

I am working on creating a cluster on Google cloud via Pulumi on VScode platform and it is written in Typescript but "cluster" is flagging red. import * as pulumi from "@pulumi/pulumi"; import * as gcp from "@pulumi/gcp"; const cluster = new…
Sam Bayo
  • 143
  • 1
  • 11