- Documentation
Container Registry
Container Registry (CR)
Terraform
Creating Standard Edition instances
Terraform
Creating Standard Edition instances
Creating Standard Edition instances
This topic describes how to use Terraform to create a CR Standard Edition instance.
Prerequisites
You have completed the preparations for using Terraform in CR. For operation details, see Preparations. - Log in to the terminal where Terraform is installed.
- Create a folder and a configuration file named main.tf in it.
- Initialize the Terraform environment.
- Perform resource planning.
- Create an instance and set the instance password.
warning
You need to run this command twice: once to create the instance and to set the password.
Results
After execution is complete, log in to the console to view the created instance.
Last updated: 2026.10.19 15:46:48