def extend(from_region: str,
to_region: str,
cluster_name: str,
ring_size: int,
dc_suffix: str,
num_tokens: int,
instance_type: str,
volume_type: str,
volume_size: int,
volume_iops: int,
no_termination_protection: bool,
use_dmz: bool,
hosted_zone: str,
artifact_name: str,
docker_image: str,
environment: list,
sns_topic: str,
sns_email: str):
if from_region != to_region and not(use_dmz):
raise click.UsageError('Extending to a new region requires --use-dmz')
extend_cluster(options=locals())
评论列表
文章目录