Populate the datacenter in Terraform-based catalog items
task brazil Updated Sep 10, 2026 1 min read terraform-auto-pop-location.md
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.
Textvariable "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.
Parent Topic:Using Cloud Services Catalog Terraform Connector
38 lines · 2.1 KB
---
title: Populate the datacenter in Terraform-based catalog items
description: 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.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/it-operations-management/cloud-configuration-governance/terraform-auto-pop-location.html
release: brazil
product: Cloud Configuration Governance
classification: cloud-configuration-governance
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Use, Cloud Services Catalog Terraform Connector, Support for continuous delivery \(configuration management\), Cloud Admin Portal, Cloud Provisioning and Governance administration guide, Cloud Provisioning and Governance, ITOM Cloud Accelerate, IT Operations Management]
---
# Populate the datacenter in Terraform-based catalog items
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
1. 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.
**Parent Topic:**[Using Cloud Services Catalog Terraform Connector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/cloud-configuration-governance/using-ccg-terraform-connector.md)
| title | Populate the datacenter in Terraform-based catalog items |
| description | 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. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/cloud-configuration-governance/terraform-auto-pop-location.html |
| release | brazil |
| product | Cloud Configuration Governance |
| classification | cloud-configuration-governance |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | UseCloud Services Catalog Terraform ConnectorSupport for continuous delivery \(configuration management\)Cloud Admin PortalCloud Provisioning and Governance administration guideCloud Provisioning and GovernanceITOM Cloud AccelerateIT Operations Management |