Service upload phases
The upload phases of an image-based application (figure 1):
- Local testing of the Terraform manifest.
- Testing manifests with the deployment system.
- Uploading a service package to the store.
- Publishing a service image.
- Publishing a service.
Figure 1 — Phases of uploading an image-based application to the marketplace
Before testing the Terraform manifests, verify that the parameters of existing cloud platform resources (for example, the VM type or the service image) are correctly specified in the manifests. Use the VK CS provider data sources. Terraform installation and configuration is described in the section Local testing of the Terraform manifest.
Example of verifying that the specified VM type exists in the cloud platform
data "vkcs_compute_flavor" "compute" {flavor_id = "4e115a9b-XXXX-95cf130d63c7"}
Was this article helpful?