CPG - Terraform 0.14 Support
- Terraform 0.14.x version support.
- HCL Type variables in Terraform - Support for Structured data types in templates such as List and Map.
- Sensitive variables - Variables in the terraform template prefixed with sensitive_ will be set as terraform sensitive variables when provisioned from CPG.
- Environment variables - Variables in the terraform template prefixed with environment_ will be set as terraform sensitive variables when provisioned from CPG.
ServiceNow CPG works seamlessly with Terraform to deliver a comprehensive multi-cloud lifecycle management solution that includes provisioning, governance, discovery, and ongoing resource management and operations. By combining Terraform—the most popular IaC platform—with world-leading ServiceNow IT Service Management and IT Operations Management, DevOps teams drive agility while ensuring compliance with enterprise standards and policies. ServiceNow's foundational CMDB enables unauthorised change detection, drift tracking, and broad governance to complement Terraform's easy deployment of cloud resources, making this solution a critical pillar in enterprise digital transformation.
Pre-requisites:
- ServiceNow Cloud Provisioning and Governance - Terraform connector should be installed on your instance.
- When defining a terraform config provider, choose version 0.14 from dropdown.
- Variable values with type of Map will be automatically added as HCL type in Terraform.
- Template variables which are prefixed with sensitive_, values for these variables will be set as terraform sensitive when provisioned from CPG.
- Template variables which are prefixed with environment_ values for these variables will be set as terraform environment when provisioned from CPG.
Important Notes:
This update set customises two OOTB script includes, so please ensure they are merged on next update from the store.
- MidServer Script Include: TerraformEnterpriseVariable
- Script Include: TerraformBaseResponseHandlerUtil
Any questions please reach out to info@intelibliss.com
@Mentions:
As always thanks to ServiceNow CPG Product engineering team and Team @Intelibliss for the excellent partnership in helping us release the added functionalities.
Download the update set from ServiceNow Share.
CPG - Terraform 0.14 Support - Share | ServiceNow Developers
https://www.servicenow.com/community/itom-articles/cpg-terraform-0-14-support/ta-p/2295535