📄️ Provisioning a Resource
Terranetes offers two distinct interfaces for provisioning cloud resources: the Configuration Custom Resource Definition (CRD) and the newer CloudResource model. The primary distinction between these interfaces lies in their approach to simplicity and control.
📄️ Terranetes CLI
The Terranetes platform includes a comprehensive command-line interface tool, tnctl, which facilitates cloud resources lifecycle management. The search subcommand is specifically designed to traverse and index resources from prominent sources, including:
📄️ Using Private Repositories
In the event that the repository housing the Terraform module is private and necessitates authentication for access, it is possible to integrate the authentication credentials into a secret located within the namespace.
📄️ Configuration Contexts
Contexts serve as a mechanism for sharing common configuration inputs across Configurations within a cluster. This feature, introduced in version v0.3.25, enables the platform team to provision contexts that can be referenced by any Configuration for a more streamlined and efficient configuration management process.
📄️ Enabling Drift Protection
Drift protection is a feature that enables the controller to perform periodic checks for discrepancies between the intended state and the actual state of resources in the upstream cloud provider. This is particularly useful in detecting changes made outside of the Terraform scope, such as through the cloud console or API. The frequency of these checks is determined by the platform team, and further information can be found in the Drift Detection documentation.
📄️ Using Flux as Source
Flux is a widely adopted and adaptable framework utilized for Gitops. Leveraging any Flux installation, you can fully utilize the feature set of the terraform controller.