---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Populate the datacenter in Terraform-based catalog items

# Populate the datacenter in Terraform-based catalog items {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

In any request for a catalog item using Terraform templates, the
required Location value specifies the datacenter or region where to provision the
configuration items and stacks. You can use a variable named region in
the Terraform template to map to the Location field on the request
form.

## Before you begin

Role required: cloud_designer

## Procedure

In the template file that is the basis for the catalog item, define a variable named region.  

    variable "region" {
                     type="string"
                   }

* The field defined for the region variable does not appear on the Provision section of the request form for the catalog item (the Location field serves that purpose).
* The value that the user specifies for the Location field on the request form configures the datacenter or region for the resource.
{#terraform-auto-pop-location__ul_whd_bmh_n3b}

