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 add a permission to an AD App with Pulumi

I try to add the "Sign in and read user profile" permission to my app, but I can't find how to do it. Here is the code I have now const myApp= new azure.ad.Application("myApp", { name: "myApp", availableToOtherTenants: false, homepage:…
JuChom
  • 5,717
  • 5
  • 45
  • 78
0
votes
0 answers

Best way to maintain Pulumi/Terraform state with automatic deployments?

On a merge to the master branch, a Jenkins job is kicked off to update an AWS Task Definition with a new Docker image with a new versioned tag. I'm trying to adopt IAC as much as possible, and this deployment job creates a drift in the state of AWS…
Mike
  • 339
  • 1
  • 3
  • 14
0
votes
1 answer

Pulumi: query pulumi stack value if not given

Here is my use case: I have a blob resource that is created only if a file (artifcat from my CI server) is present on my build machine. Now, I may have to run pulumi on my local machine where the file does not exist. But I don't want to delete the…
JuChom
  • 5,717
  • 5
  • 45
  • 78
0
votes
0 answers

How to start an azure webapp or a function app with pulumi

I'm actually managing my IaC and doing ZipDeploy with Pulumi. Is there a way to add this az cli command to my index.ts in order to start the webapp just after the zip deploy? az webapp start -g myrg -n myapp
JuChom
  • 5,717
  • 5
  • 45
  • 78
0
votes
1 answer

Pulumi: Manipulate connection string during deployment

I'm using Pulumi to deploy several Azure ressources, which works fine. I'm deploying a TopicAuthorizationRule and I need to manipulate the connection string in order to have it working with an Azure Function Trigger. const myPolicy = new…
JuChom
  • 5,717
  • 5
  • 45
  • 78
-1
votes
1 answer

Pulumi Project Folder structure

I am new to the pulumi and planning to create an IaC project in pulumi. Bit confused about the project structure of pulumi. I was planning to create classes based on SOLID principles - however, when looking at the project structure listed on pulumi…
-1
votes
1 answer

How can I use a file from the local disk in Pulumi?

I am trying to use a long policy document for AWS in Pulumi that sits on disk. const policyDocument = new pulumi.asset.FileAsset("./policy.json"); However, when I try to use the variable later like this: export const jobPolicy = new…
Istvan
  • 7,500
  • 9
  • 59
  • 109
-1
votes
1 answer

Pulumi / Terraform / Cloudformation : enable SSH access to Elastic Beanstalk instances

Using the eb CLI, one can enable SSH through eb ssh. This recreates all instances, and I'm assuming it updates the security group ingress rules & adds the correct keys to the instances. How can one programmatically achieve this (terraform, pulumi,…
-1
votes
2 answers

Typescript Return List of Promises

I'm trying to get a list of organization account id's from our AWS account. I have the following code const acc_list: string[] = []; (async () => { const orgs = await aws.organizations.getOrganization(); orgs.accounts.forEach(account => …
mbspark
  • 534
  • 3
  • 18
-4
votes
0 answers

Does Pulumi have state issues during the refactoring, similar to Terraform?

Examples of behavior in terraform: You have created 2 S3 buckets, each via separate resource line. Deployed the code. Now you are changing the code to use for_each or other loop. The new code does produce the equivalent resources, however it does…
Max Lobur
  • 5,662
  • 22
  • 35
1 2 3
30
31