DEV Community

Cover image for Increasing Confidence in Infrastructure Changes
Praneet Loke
Praneet Loke

Posted on

Increasing Confidence in Infrastructure Changes

Pulumi is an infrastructure as code platform that lets you write cloud infrastructure using popular general-purpose languages (Go, JS, TS, Python, and .NET).

Running Pulumi in GitLab CI/CD is very easy and if you have ever wondered "is there a tool that tells me how my changes will affect my infrastructure", then that's exactly what running pulumi preview will give you.

Outputs of all Pulumi CLI commands are viewable in the Pulumi Console too. You could also view any Pulumi command executions in realtime on the Console.

Summary output as viewed in the Pulumi Console

Summary output as viewed in the Pulumi Console

Types of logs

Use the toggler to view different types of logs

Diff output as viewed in the Pulumi Console

Diff output as viewed in the Pulumi Console

There is one problem, though. How do you, as the reviewer, ensure that you see this summary during your review? You could check the Pulumi summary in the build pipeline logs, but it can be a bit cumbersome to have to navigate to the pipeline logs if you have to do that repeatedly. It is also likely that reviewers miss looking at the pipeline builds and thereby potentially missing some crucial unintended impacts to your infrastructure.

Enter Pulumi integration for GitLab Merge Requests.

Pulumi integration for GitLab

Infrastructure summary as a comment

Infrastructure summary in the comment

So there you have it, folks! A summary of your infrastructure changes delivered right to your comments in the merge request, so you never miss a change again.

Haven't started with Pulumi yet? What are you waiting for? Click here to get started.

Top comments (0)