Overview
The Cloud Temple Terraform provider allows you to manage your Cloud Temple account infrastructure using the Infrastructure as Code (IaC) approach. It offers complete integration with Cloud Temple infrastructure services, enabling you to provision, configure, and manage your cloud resources in a declarative and reproducible manner.
Key Features
- Infrastructure as Code: Define your infrastructure in versionable configuration files
- Declarative Management: Describe the desired state of your infrastructure, Terraform handles the rest
- Complete Automation: Automate the provisioning and management of your resources
- Reproducibility: Deploy identical environments reliably
- Dependency Management: Terraform automatically manages the order of resource creation
Supported Products
The Cloud Temple Terraform provider supports the following services:
IaaS VMware
Manage your VMware virtual machines with all advanced virtualization features:
- Virtual Machines: Create and configure virtual machines
- Virtual Disks: Create and configure virtual disks
- Network Adapters: Manage virtual machine network adapters
- Virtual Controllers: Manage disk controllers and other devices
- Cloud-Init: Automated configuration at startup
- Backup: Integration with Cloud Temple backup policies
IaaS OpenSource
Provision and manage virtual machines on the OpenSource infrastructure based on XCP-ng:
- Virtual Machines: Create and manage virtual machines
- Virtual Disks: Create and configure virtual disks
- Network Adapters: Create and configure virtual machine network adapters
- Replication: Data replication policies
- High Availability: HA configuration (disabled, restart, best-effort)
- Cloud-Init: NoCloud compatible automated configuration
- Backup: Integration with Cloud Temple backup policies
Object Storage
Manage your S3-compatible object storage spaces:
- Buckets: Create and configure buckets
- Storage Accounts: Manage S3 identities and credentials
- ACL: Granular access control to buckets
- Versioning: Object version management
Prerequisites
Before using the Cloud Temple Terraform provider, ensure you have:
Access to Cloud Temple Console
You must have access to the Cloud Temple Console with appropriate rights on the tenant you want to work with.
API Key
The provider requires Cloud Temple API credentials:
- Client ID: Client identifier for authentication
- Secret ID: Secret associated with the client ID
These credentials can be generated from the Cloud Temple Console by following this procedure.
Rights and Permissions
Depending on the resources you want to manage, you must have the appropriate roles:
For IaaS VMware
compute_iaas_vmware_infrastructure_readcompute_iaas_vmware_infrastructure_writecompute_iaas_vmware_managementcompute_iaas_vmware_readcompute_iaas_vmware_virtual_machine_powerbackup_iaas_spp_readandbackup_iaas_spp_write(for backup)
For IaaS OpenSource
compute_iaas_opensource_managementcompute_iaas_opensource_readcompute_iaas_opensource_virtual_machine_powerbackup_iaas_opensource_readandbackup_iaas_opensource_write(for backup)
For Object Storage
object-storage_writeobject-storage_readobject-storage_iam_management
Common Rights
activity_readtag_readandtag_write
Terraform Compatibility
The Cloud Temple provider is compatible with:
- Terraform: Version 1.0 and higher
- OpenTofu: Compatible with recent versions
Logging and Debugging
To enable detailed provider logging:
# DEBUG level logging
export TF_LOG=DEBUG
terraform apply
# JSON format logging
export TF_LOG=JSON
terraform apply
# Save logs to a file
export TF_LOG_PATH=./terraform.log
terraform apply
Support and Resources
- Official Documentation: Terraform Registry
- Source Code: GitHub
- Issues: GitHub Issues
Stay Informed
To be automatically notified of new releases of the Cloud Temple Terraform provider, you can subscribe to notifications from the GitHub repository.
Subscribe to Release Notifications
-
Go to the provider's GitHub repository
-
Click the Watch button at the top right of the repository

- Select Custom then check Releases

You will now receive an email notification for each new provider release.
Next Steps
- Concepts : Understand the provider's key concepts
- Getting Started : Create your first infrastructure
- Tutorials : Practical examples and use cases