Edit an instance group based on the specification in YAML format
Written by
To update an instance group based on the specification in YAML format:
CLI
API
If you don't have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Run the following command:
yc compute instance-group update --file specification.yaml
For more information about the yc compute instance-group update
command, see the CLI reference.
Use the InstanceGroupService/UpdateFromYaml gRPC API call or the updateFromYaml method of the REST API InstanceGroup
resource.