Announcing ServiceNow Integration for Terraform Enterprise

Today at HashiConf EU we are announcing the HashiCorp Terraform Enterprise integration for ServiceNow Service Catalog. Terraform Enterprise offers organizations an infrastructure as code approach to multi-cloud provisioning, compliance, and management. Organizations who adopt Terraform Enterprise want to provide self-service infrastructure to end-users within their organization. The integration with ServiceNow extends this capability so that any end-user can request infrastructure from the ServiceNow Service Catalog and Terraform Enterprise can provide an automated way to service those requests.

This blog will discuss self-service infrastructure with ServiceNow & Terraform Enterprise and the workflow, including:
* Integration Setup
* Ordering Infrastructure
* Provisioning and Policy Enforcement
* Request Completion

Self-Service Infrastructure with ServiceNow & Terraform Enterprise

ServiceNow provides digital workflow management, helping teams work quickly and efficiently with one another by offering a straightforward workflow for their interactions. The ServiceNow Service Catalog offers a storefront of services that can be ordered by different people in the organization. One common request between teams is for Cloud resources: a developer needs a fleet of machines to test out a codebase or the IT team in finance has a request for infrastructure to run their new accounting software. For organizations who use the ServiceNow Service Catalog, the requests can be submitted through ServiceNow and routed to the right team for Cloud Infrastructure.

Terraform Enterprise provides provisioning automation through infrastructure as code and security, compliance, and cost-sensitive policy enforcement against all resources as they are provisioned. Our newest integration connects the human workflow power of ServiceNow with the infrastructure workflow capabilities of Terraform Enterprise.

Terraform Enterprise Workflow

The Workflow

The native integration provides a simple and streamlined setup process for Terraform Enterprise and the ServiceNow Service Catalog. Once setup, the end-users can order services from Terraform Enterprise. Terraform Enterprise will execute provisioning and policy enforcement. Depending on the level of automation the IT Operations team has set up, this can be fully automated or have built-in checkpoints to allow for oversight.

Integration Setup

To set up the integration, an administrator connects ServiceNow and Terraform Enterprise using our integration template. That integration connects the VCS repositories containing the template configurations for your infrastructure to both Terraform Enterprise and ServiceNow, allowing teams to order infrastructure provisioned by Terraform through ServiceNow

Integration Setup

Ordering Infrastructure

Any user with access to the Terraform catalog can submit an order for infrastructure through the Service Catalog. Simply choose the Terraform catalog, pick the type of infrastructure, and click “Order”.

Ordering Infrastructure

Ordering Infrastructure3

Ordering Infrastructure4

Ordering Infrastructure5

Provisioning & Policy Enforcement

When a user submits a ticket to order infrastructure, Terraform Enterprise uses the template configurations from the Setup step and creates a workspace, runs a plan, and then runs an apply if the plan passed all policy checks. You’re able to see from the workspace name and description where it came from, and even follow a link out to the Service Catalog ticket.

Provisioning & Policy Enforcement

Provisioning & Policy Enforcement2

If a policy check had failed, the apply would not have run and the Terraform operator would need to take a look.

Complete Request

When Terraform Enterprise has finished the run successfully, the infrastructure information is sent directly to the Service Catalog ticket so the requester can begin using it.

Complete Request

The full workflow for ordering infrastructure from Terraform Enterprise can be seen in the following demo.

Getting Started

The ServiceNow Service Catalog integration is part of Terraform Enterprise. To learn more about self-service infrastructure visit https://www.hashicorp.com/products/terraform. To learn more about getting started with Terraform Enterprise visit https://www.hashicorp.com/go/terraform-enterprise.

Originally posted on Hashicorp Blog
Author: Terraform Enterprise Self-Serve Team

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *