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

How to stop a buggy pulumi.dynamic.ResourceProvider?

I am attempting to shut down an ec2 instance with a dynamic resource dependency. The dynamic resource implementation is buggy, so destroy() always returns an error code and aborts the shutdown. I have fixed the destroy() implementation, but I am…
Gili
  • 86,244
  • 97
  • 390
  • 689
0
votes
1 answer

Pulumi import is throwing "Not authorized to perform this operation"

I'm trying to import existing vpc via pulumi. const stackName = pulumi.getStack() var vpcName = stackName + "-defaultvpc" console.log("CIDR Block is" + config.cidrBlock) const envVpc = new aws.ec2.Vpc(vpcName, { cidrBlock: config.cidrBlock, },…
ashoksl
  • 383
  • 6
  • 17
0
votes
1 answer

How to transfer files from local to ec2?

What is the Pulumi equivalent of Terraform "file" provisioner? Specifically, how can one transfer files from the local computer to remote ec2 instances?
Gili
  • 86,244
  • 97
  • 390
  • 689
0
votes
1 answer

How to set an specific entrypoint to a google cloud function with pulumi

Currently I'm starting with pulumi as a IaC tool, also I'm working with TypeScript. For a google cloud function with HTTP Trigger, Does anybody know How can I set the urn with a specific name? I'm creating a new Function as code below. I'm using as…
0
votes
1 answer

deploying lambda code inside a folder with an autogenerated name

I am trying to set up a lambda in pulumi-aws but my function code when deployed is wrapped in a folder with the same name as the generated lambda function name. I would prefer not to have this as it's unnecessary, but more than that it means I can't…
Nick Meldrum
  • 1,141
  • 1
  • 10
  • 27
0
votes
0 answers

Unable to create new project with pulumi

Followed the documentation https://www.pulumi.com/docs/quickstart/aws/create-project/ and could not get it working. npm install step fails. I have tried with node version : v10.15.3 and npm version : 6.4.1 The error I get npm ERR! code E404 npm…
0
votes
2 answers

Converting Tags to Array of Tags

I have some code I found for assigning tag values to resources in AWS via typescript. The problem is, one of the resources (autoScaling Groups) handles tags differently than all other resources. Instead of defining all my tag values twice, I'm…
mbspark
  • 534
  • 3
  • 18
0
votes
1 answer

How to push docker image to ECR after registry has been created?

I'm using Pulumi to try and create an EBS application. As part of this I need to push a new docker image to ECR. I need to push the image after the docker registry has been created but before the beanstalk application version tries to update to the…
0
votes
1 answer

How to call a function when an Object has been created?

I'm trying out Pulumi and creating an Elasticbeanstalk setup which uses an s3 bucket to store the application version artifacts. Pulumi complains that the release artifact isn't on the s3 bucket when 'ApplicationVersion' is being created Updating…
0
votes
1 answer

how can I run updating each component with Pulumi

I'm using pulumi, but I have a problem. for example, if I use terraform, I would do this: cd terraform/component/${componentName} terraform workspace new dev terraform workspace select dev terraform init -input=true -reconfigre -backend-config…
tuioku
  • 119
  • 10
0
votes
1 answer

how to create a custom AWS resource name?

I'm creating AWS Kinesis. When I create AWS resource with Pulumi, the resource is created with a unique name. Example:(mystream-263c353). How can I create a custom simple name, which doesn't have to be unique? Example:(mystream) Here's my…
tuioku
  • 119
  • 10
0
votes
1 answer

Pulumi invalid network configuration for bridge mode ECS service

I'm trying to create an ECS Service using Pulumi with task with network mode bridge in order to run multiple tasks on an instance. When creating the service, pulumi outputs error: Plan apply failed: InvalidParameterException: Network Configuration…
Markus
  • 79
  • 1
  • 9
0
votes
1 answer

Custom Pulumi destroy logic

How do you use Pulumi to destroy resources like CloudFront distributions (which need to be disabled before they can be destroyed) that require other operations to be preformed before they can be removed. I cannot seem to find a way to add custom…
0
votes
1 answer

Pulumi: empty stack

I'm getting this output when I want to list my current stack: I don't quite figure out why it's getting me this message. This is my project: Here you have code: import * as k8s from "@pulumi/kubernetes"; const appLabels = { app: "nginx" }; const…
Jordi
  • 20,868
  • 39
  • 149
  • 333
0
votes
1 answer

Where can I find pulumi aws.apigateway.x Documentation

Just starting out with some pulumi.io tutorials and immediately encountered const endpoint = new aws.apigateway.x.API("hello", {...}) Then I went to the pulumi aws.apigateway documentation and don't see anything about the mysterious apigateway.x…
notbrain
  • 3,366
  • 2
  • 32
  • 42
1 2 3
30
31