You can use the resource import feature of Tencent Infrastructure as Code (TIC) to import Tencent Cloud resources created using the console or Cloud APIs into a TIC stack for unified orchestration without having to delete or re-create Tencent Cloud resources.
Note:
You can only import existing Tencent Cloud resources into a new stack, not into an existing stack.
The following table lists the Tencent Cloud services that can be imported into TIC.
Tencent Cloud Service | Resource Type | Remarks |
---|---|---|
CDN | tencentcloud_cdn_domain | HTTPS certificates cannot be imported |
Note:
To ensure that the import operation does not affect resource configurations on the live network, follow these rules when you confirm the stack configurations:
- Do not modify parameters of the
ForceNew
type. For example, in the configuration parameters of CDNtencentcloud_cdn_domain
, thedomain
andservice_type
parameters are of theForceNew
type. If these 2 parameters are modified, resources on the live network will be destroyed and re-created, which may affect businesses on the live network.- You must manually configure parameters that cannot be automatically imported. For example, to import domain name certificates of CDN into TIC, manually configure the certificates and add them into the stack configuration file for resource orchestration and management.
- If you have any questions about the generated configuration parameters, submit a ticket to contact the TIC team before you perform subsequent operations.
Note:
TIC supports importing existing resources that have been created on Tencent Cloud. Normally, no resource is added, changed, or destroyed in the import process. If the number of added, changed, or destroyed resources is not 0 in the plan results, do not perform subsequent operations. Instead, check whether you have modified any parameters of the
ForceNew
type. If you have any questions, submit a ticket to contact the TIC team before you perform subsequent operations.
Was this page helpful?