Edit an instance group based on the specification in YAML format
Written by
To edit an instance group based on a 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 call InstanceGroupService/UpdateFromYaml from the gRPC API or the method updateFromYaml of the InstanceGroup
resource in the REST API.