In addition to provisioning and consuming cloud resources by Crossplane, we can also use Terraform,
which is one of four ComponentDefinition schematic types
To enable end users to be able to create application by Terraform, please follow these steps.
Download the latest chart, like
terraform-controller-chart-0.1.4.tgz, from the latest releases list and install it.
By applying Terraform Provider credentials, Terraform controller can be authenticated to deploy and manage cloud resources.
Please refer to Terraform controller getting started on how to apply Provider for Alibaba Cloud or AWS.
alibaba-rds as RDS cloud resource producer#
Register alibaba-rds Component type to KubeVela.
alibaba-oss as OSS cloud resource producer#
Register alibaba-oss Component type to KubeVela.
service-binding to do env-secret mapping#
Apply service-binding to apply service binding trait.
For more detailed introduction, please refer to Crossplane.
Now You can refer to Terraform for end users to provision and consume cloud resource by Terraform.