ebcli/resources/strings.py (979 lines of code) (raw):
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
import os
strings = {
'platformbuildercreation.info': "Note: An environment called '{0}' has been "
"created in order to build your application. "
"This environment will not automatically be "
"terminated and it does have a cost associated "
"with it. Once your platform creation has "
"completed you can terminate this builder "
"environment using the command 'eb terminate'.",
'app.version_message': 'EB CLI',
'base.update_available': 'An update to the EB CLI is available. '
'Run "pip install --upgrade awsebcli" to '
'get the latest version.',
'base.update_available_script_install': 'An update to the EB CLI is available. '
'See https://github.com/aws/aws-elastic-beanstalk-cli-setup '
'to install the latest version.',
'base.info': 'Welcome to the Elastic Beanstalk Command Line Interface (EB CLI). \n'
'For more information on a specific command, type "eb {cmd} --help".',
'base.epilog': 'To get started type "eb init". Then type "eb create" and "eb open"',
'ebpbase.info': """Welcome to the Elastic Beanstalk Command Line Interface (EB CLI).
The "ebp" command is equivalent to "eb platform". It offers sub-commands for managing platforms.
We recommend that you use "eb platform" instead of "ebp".
For more information on a specific command, enter "eb platform {cmd} --help".
To get started, enter "eb platform init". Then enter "eb platform create".""",
'ebpbase.epilog': 'To get started type "ebp init". Then type "ebp create"',
'init.info': 'Initializes your directory with the EB CLI. Creates the application.',
'init.epilog': 'This command is safe when run in a previously initialized'
' directory. To re-initialize with different options, '
'use the -i option. Note this command cannot change the workspace type'
' of a directory that was already initialized.',
'init.dir.notexists': 'The specified directory {dir} does not exist. '
'Please ensure that you are specifying the proper directory.',
'init.platform_workspace_already_initialized': 'This directory is already initialized with '
'a platform workspace.',
'init.usingenvyamlplatform': 'Using platform specified in env.yaml: {platform}',
'create.info': 'Creates a new environment.',
'create.epilog': 'Type "--vpc." or "--database." for more VPC and database options.',
'create.missinggroup': 'A group name is required when creating multiple environments. '
'Please use the --group option.',
'create.sample_application_download_option': 'Do you want to download the sample '
'application into the current directory?',
'create.downloading_sample_application': 'Downloading sample application to the '
'current directory.',
'create.sample_application_download_complete': 'Download complete.',
'events.info': 'Gets recent events.',
'open.info': 'Opens the application URL in a browser.',
'console.info': 'Opens the environment in the AWS Elastic Beanstalk Management Console.',
'clone.info': 'Clones an environment.',
'clone.epilog': 'This command clones your environment and attempts to upgrade the '
'platform to the latest version.\n'
'To create a clone with the same platform version, use the '
'"--exact" option.',
'abort.info': 'Cancels an environment update or deployment.',
'use.info': 'Sets default environment.',
'health.info': 'Shows detailed environment health.',
'deploy.info': 'Deploys your source code to the environment.',
'platformcleanup.info': 'Terminates your platform builder environment.',
'platformset.version': 'Setting workspace platform version to:',
'platformset.newplatform': 'New platform "%s"',
'platformworkspaceshow.info': 'Displays details about platform resources.',
'platformshowversion.info': 'Displays metadata about your current custom platform version.',
'platformbuilderlogs.info': 'Retrieves logs from your platform builder environment.',
'platformlogs.info': 'Retrieves logs for your custom platform build event.',
'platformssh.info': 'SSH into your platform builder environment.',
'platformshowversion.epilog': 'Will display details about the current version if no version '
'is specified.',
'platformworkspacelist.info': 'Lists platform resources.',
'platformlistversions.info': 'Lists versions of the custom platform associated with this '
'workspace.',
'platformcreate.info': 'Creates platform resources.',
'platformcreateversion.info': 'Creates a new custom platform version.',
'platformcreateversion.epilog': 'Creates a new platform version. If no version is '
'specified then it will do a patch-increment based '
'on the most recent platform version. The version '
'and increment options are mutually exclusive.',
'platformcreateiamdescribeerror.info': "Insufficient IAM privileges. Unable to determine "
"if instance profile '{profile_name}' exists, assuming "
"that it exists.",
'platformdelete.info': 'Deletes platform resources.',
'platformdeleteversion.info': 'Deletes a custom platform version.',
'platformdeleteversion.epilog': 'You must explicitly select the version to delete.',
'platformdeletevalidation.error': 'Unable to delete platform version ({0}/{1}) because '
'it is being used by the following environments:\n '
'{2}\n'
'Please terminate or upgrade these environments before '
'trying to delete this platform.',
'platformdelete.events': 'Shows events for the current platform',
'platforminit.info': 'Initializes your directory with the EB CLI to create and manage '
'Platforms.\n'
'(Uninitialized or platform workspace only)',
'platforminit.epilog': 'This command is safe when run in a previously initialized'
' directory. To re-initialize with different options, '
'use the -i option. Note this command cannot change the workspace type'
' of a directory that was already initialized.',
'platforminit.application_workspace_already_initialized': 'This directory is already initialized with '
'an application workspace.',
'platforminit.noinstanceprofile': 'You are creating a workspace without an instance '
'profile. Without an instance profile you cannot create a '
'platform with a customized AMI. Use eb platform init -i '
'or -I to configure your instance profile.',
'platform.info': """Commands for managing platforms.
For more information on a specific command, enter "eb platform {cmd} --help".
To get started enter "eb platform init". Then enter "eb platform create".""",
'platformshow.info': """Shows information about current platform.
(application workspace only)""",
'platformlist.info': 'In a platform workspace, lists versions of the custom '
'platform associated with this workspace. You can reduce '
'the result set by using filters.\n\n'
'Elsewhere, shows a list of platforms for use with "eb init -p". '
'Enter "--verbose" to get the full platform name.',
'platformworkspaceselect.info': 'Selects platform resources to use for this workspace.',
'platformworkspaceselectversion.info': 'Selects the active custom platform '
'version to use for this workspace.',
'platformselect.info': """Selects a default platform.
(application workspace only)""",
'platformselect.epilog': 'This command is an alternative to "eb init -i" and '
'"eb init -p". It doesn\'t change the platform on any '
'existing environments.\n'
'To upgrade an environment\'s platform, enter:\n'
' eb upgrade',
'platformevents.info': 'Displays events for the custom platform associated with '
'this workspace.',
'upgrade.info': 'Updates the environment to the most recent platform version.',
'scale.info': 'Changes the number of running instances.',
'status.info': 'Gets environment information and status.',
'setenv.info': 'Sets environment variables.',
'setenv.epilog': 'Use this command to set environment variables by typing a space-separated '
'list of key=value pairs.\n'
'For example, to set HeapSize to 256m and Site_Url to mysite.elasticbeanstalk.com, '
'type:\n'
' eb setenv HeapSize=256m Site_Url=mysite.elasticbeanstalk.com\n'
'You can also remove environment variables by specifying no value. For example:\n'
' eb setenv HeapSize= Site_Url=\n'
'This removes the environment variables.',
'swap.info': 'Swaps two environment CNAMEs with each other.',
'config.epilog': 'Use this command to work with environment configuration settings. \n'
'To update your environment directly in an interactive editor, type:\n'
' eb config\n',
'config.notfound': 'Elastic Beanstalk could not find any saved configuration with the name '
'"{config-name}".',
'config.envyamlexists': 'It appears your environment is using an env.yaml file. Be aware that '
'a saved configuration will take precedence over the contents of your '
'env.yaml file when both are present.',
'list.info': 'Lists all environments.',
'terminate.info': 'Terminates the environment.',
'terminate.epilog': 'This command terminates the environment. To terminate the application and '
'everything in it, use the "--all" option.',
'config.info': "Modify an environment's configuration. Use subcommands to manage saved "
"configurations.",
'platformconfig.info': "Modify an platform's configuration. Use subcommands to manage saved "
"configurations.",
'ssh.info': 'Opens the SSH client to connect to an instance.',
'ssh.timeout_without_setup': 'You can only use the "--timeout" argument with the "--setup" '
'argument',
'printenv.info': 'Shows the environment variables.',
'local.info': 'Runs commands on your local machine.',
'local.printenv.info': 'Shows local environment variables.',
'local.run.info': 'Runs the Docker container on your local machine.',
'local.setenv.info': 'Sets local environment variables.',
'local.logs.info': 'Prints where logs are locally saved.',
'local.open.info': 'Opens the application URL in a browser.',
'local.status.info': 'Gets container information and status.',
'local.setenv.epilog': 'Use this command to set environment variables by typing a space-separated '
'list of key=value pairs.',
'create.sampleandlabel': 'You cannot use the "--sample" and "--version" options together.',
'create.singleandsize': 'You cannot use the "--single" and "--scale" options together.',
'create.scaleandminmax': 'You cannot use the "--min-instances" or "--max-instances" and "--scale" options together.',
'create.singleandminmax': 'You cannot use the "--min-instances" or "--max-instances" and "--single" options together.',
'create.itype_and_instances' : 'You cannot use the "--instance-type" and "--instance-types" together.',
'create.spot_and_single' : 'You cannot use the "--enable-spot" and "--single" together.',
'create.single_and_elb_type': 'You cannot use the "--single" and "--elb-type" options together.',
'create.single_and_elbpublic_or_elb_subnet': 'You can\'t use the "--single" argument with the '
'"--vpc.elbsubnets" or "--vpc.elbpublic" arguments.',
'create.worker_and_incompatible_vpc_arguments': 'You can\'t use the "--tier worker" argument with '
'the "--vpc.publicip", "--vpc.elbsubnets", '
'or "--vpc.elbpublic" arguments.',
'create.appdoesntexist': 'The specified app {app_name} does not exist. Skipping.',
'create.missinggroupsuffix': 'The environment name specified in env.yaml ends with a \'+\', but no '
'group suffix was provided. Please pass the --env-group-suffix argument.',
'create.missing_plus_sign_in_group_name': 'The environment name specified in env.yaml does not end '
'with a \'+\', but a group suffix was provided. Please '
'add a trailing \'+\' to the environment name',
'create.valid_spot_instances': 'For Spot Instance types, specify a comma-separated list of two or more valid EC2 instance',
'create.missing_enable_spot': 'Specify the "--enable-spot" argument with any spot-related arguments.',
'ssh.instanceandnumber': 'You cannot use the "--instance" and "--number" options together.',
'ssh.noinstance': "You tried to connect to an environment with no running instances. SSH can only connect to "
"running instances. Use 'eb health' to display the status of instances in this environment.",
'terminate.noenv': 'To delete the application and all application versions, type "eb terminate '
'--all".',
'cred.prompt': 'You have not yet set up your credentials or your credentials are incorrect \n'
'You must provide your credentials.',
'prompt.invalid': 'You did not provide a valid value.',
'prompt.yes-or-no': 'Type either "Y" or "N".',
'app.description': 'Application created from the EB CLI using "eb init"',
'env.description': 'Environment created from the EB CLI using "eb create"',
'env.clonedescription': 'Environment cloned from {env-name} from the EB CLI using "eb clone"',
'template.description': 'Configuration created from the EB CLI using "eb config save".',
'env.exists': 'An environment with that name already exists.',
'sstacks.notfound': 'Elastic Beanstalk could not find any platforms. Ensure you have the '
'necessary permissions to access Elastic Beanstalk.',
'sstacks.notaversion': 'Elastic Beanstalk could not find any supported platforms for the '
'given version {version}.',
'timeout.error': "The EB CLI timed out after {timeout_in_minutes} minute(s). The operation "
"might still be running. To keep viewing events, run 'eb events -f'.",
'sc.notfound': 'Git is not set up for this project. EB CLI will deploy a .zip file of the '
'entire directory.',
'exit.platformworkspacenotsupported': 'This command is not supported outside Application workspaces.',
'exit.applicationworkspacenotsupported': 'This command is not supported outside Platform workspaces.',
'exit.notsetup': 'This directory has not been set up with the EB CLI\n'
'You must first run "eb init".',
'exit.noregion': 'The EB CLI cannot find a default region. Run "eb init" or use a specific '
'region by including the "--region" option with the command.',
'exit.platformworkspaceempty': 'The current directory does not contain any Platform '
'configuration files. Unable to create new Platform.',
'exit.invalidstate': 'The operation cannot be completed at this time due to a pending '
'operation. Try again later.',
'exit.argerror': 'There was an argument error in the given command',
'exit.invalidversion': 'Invalid version format. Only ARNs, version numbers, or '
'platform_name/version formats are accepted.',
'exit.no_pdf_file': 'Unable to create platform version. Your workspace does not have a Platform '
'Definition File, \'platform.yaml\', in the root directory.',
'exit.nosuchplatformversion': 'No such version exists for the current platform.',
'exit.nosuchplatform': 'No such platform exists.',
'branch.noenv': 'This branch does not have a default environment. You must either specify '
'an environment by typing '
'"eb {cmd} my-env-name" or set a default environment by typing "eb use my-env-name".',
'ssh.notpresent': 'SSH is not installed. You must install SSH before continuing.',
'ssh.filenotfound': 'The EB CLI cannot find your SSH key file for keyname "{key-name}".'
' Your SSH key file must be located in the .ssh folder in your home directory.',
'local.logs.location': 'Elastic Beanstalk will write logs locally to {location}',
'local.logs.lastlocation': 'Logs were most recently created {prettydate} and written to {location}',
'local.logs.symlink': 'Updated symlink at {symlink}',
'local.logs.nologs': 'There are currently no local logs.',
'setenv.invalidformat': 'You must use the format KEY=VALUE to set an environment variable. '
'Variables must start with a letter.',
'tags.invalidformat': 'You must provide a comma-separated list using the format name=value to set tags. '
'Tags may only contain letters, numbers, and the following '
'symbols: / _ . : + = - @',
'tags.max': 'Elastic Beanstalk supports a maximum of 50 tags.',
'init.getvarsfromoldeb': 'You previous used an earlier version of eb. Getting options from '
'.elasticbeanstalk/config.\n'
'Credentials will now be stored in ~/.aws/config',
'ssh.noip': 'This instance does not have a Public IP address. This is possibly because the '
'instance is terminating.',
'worker.cname': 'Worker tiers do not support a CNAME.',
'cname.unavailable': 'The CNAME prefix {cname} is already in use.',
'ssh.openingport': 'INFO: Attempting to open port 22.',
'ssh.portopen': 'INFO: SSH port 22 open.',
'ssh.notopening': 'Found source restriction on ssh port; not attempting to open. Use the '
'--force flag to force opening of the port.',
'ssh.closeport': 'INFO: Closed port 22 on ec2 instance security group.',
'ssh.uploaded': 'Uploaded SSH public key for "{keyname}" into EC2 for region {region}.',
'swap.unsupported': 'You must have at least 2 running environments to swap CNAMEs.',
'connection.error': 'Having trouble communicating with AWS. Please ensure the provided region '
'is correct and you have a working internet connection.',
'toomanyplatforms.error': 'You have reached your platform limit. Please consider deleting '
'failed platform versions, or versions that you no longer require.',
'sc.unstagedchanges': 'You have uncommitted changes.',
'sc.gitnotinstalled': 'Your project is using git, but git doesn\'t appear to be installed.\n'
'Have you added git to your PATH?',
'events.streamprompt': ' -- Events -- (safe to Ctrl+C)',
'events.unsafestreamprompt': ' -- Events -- (Ctrl+C will abort the deployment)',
'events.abortmessage': ' Use "eb abort" to cancel the command.',
'abort.noabortableenvs': 'There are no environments currently being updated.',
'local.unsupported': 'You can use "eb local" only with preconfigured, generic and multicontainer '
'Docker platforms.',
'local.dockernotpresent': 'You must install Docker version {docker-version} to continue. If '
'you are using Mac OS X, ensure you have boot2docker version '
'{boot2docker-version}. Currently, "eb local" does not support Windows.',
'local.filenotfound': 'The EB CLI cannot find Dockerfile or the Dockerrun.aws.json file in the '
'application root directory.',
'local.missingdockerrun': 'This environment requires a Dockerrun.aws.json file to run.',
'local.invaliddockerrunversion': 'The AWSEBDockerrunVersion key in the Dockerrun.aws.json file is '
'not valid or is not included.',
'local.missingdockerrunimage': 'The Dockerrun.aws.json file requires the Image key.',
'local.missingdockerrunports': 'The Dockerrun.aws.json file requires the Ports key.',
'local.missingdockerruncontainerport': 'The Dockerrun.aws.json file requires the ContainerPort field.',
'local.invalidjson': 'The Dockerrun.aws.json file is not in valid JSON format.',
'local.run.noportexposed': 'The Dockerfile must list ports to expose on the Docker container. Specify '
'at least one port, and then try again.',
'local.run.nobaseimg': 'The Dockerfile or Dockerrun.aws.json file does not specify a base image. '
'Specify a base image, and then try again.',
'local.run.socketperms': 'If you are on Ubuntu, ensure that you have added yourself into the Unix '
'docker group by running "sudo usermod -aG docker $USER" '
'and then log out and log back in.',
'local.open.nocontainer': 'Elastic Beanstalk did not detect a running Docker container. Ensure that '
'a container is running before you use "eb local open".',
'local.open.noexposedport': 'This container has no exposed host ports.',
'labs.info': 'Extra experimental commands.',
'quicklink.info': 'Generate a quick-launch link for your project.',
'quicklink.epilog': 'Applications and environments created from the quick link are accessible to your '
'account only. \n'
'To share the link with other accounts, you must explicitly grant those accounts '
'read access to your S3 application version .zip file.',
'download.info': 'Download Application Version.',
'convert-dockkerrun.info': 'Converts Dockerrun.aws.json from version 1 to version 2.',
'cleanup-versions.info': 'Cleans up old application versions.',
'setup-ssl.info': 'Sets up ssl on your environment.',
'region.china.credentials':
'To use the China (Beijing) region, account credentials unique to the '
'China (Beijing) region must be used.',
'deploy.notadirectory': 'The directory {module} does not exist.',
'deploy.modulemissingenvyaml':
'All specified modules require an env.yaml file.\n'
'The following modules are missing this file: {modules}',
'deploy.noenvname':
'No environment name was specified in env.yaml for module {module}. Unable to deploy.',
'deploy.invalidoptions': 'You cannot use the "--version" option with either the "--message" '
'or "--label" option.',
'deploy.archivewithoutregion': 'You cannot use the "--archive" option without the "--region" option.',
'deploy.archivewithoutenvname': 'You cannot use the "--archive" option without the environment name.',
'deploy.archivewithversion': 'You cannot use the "--archive" option with the "--version" option for environment updates. '
'These are mutually exclusive methods for specifying application code.',
'deploy.archivewithsource': 'You cannot use the "--archive" option with the "--source" option for environment updates. '
'These are mutually exclusive methods for specifying application code.',
'deploy.archive_must_be_dir_or_zip': 'The "--archive" option requires a directory or ZIP file as an argument.',
'compose.noenvyaml':
'The module {module} does not contain an env.yaml file. This module will be skipped.',
'compose.novalidmodules': 'No valid modules were found. No environments will be created.',
'instance.processes.health': '{healthy}/{total} processes healthy.',
'codesource.info': 'Configures the code source for the EB CLI to use by default.',
'codesource.localmsg': 'Default set to use local sources',
'restore.info': 'Restores a terminated environment.',
'restore.no_env': 'No terminated environments found.\nEnvironments are available for six weeks after '
'termination.',
'restore.displayheader': 'Select a terminated environment to restore',
'logs.info': 'Gets recent logs.',
'logs.epilog': 'This command displays the last 100 lines of logs. To retrieve '
'all logs, use the "--all" option.',
'logs.all_argument_and_zip_argument':
'You can\'t use the "--all" and "--zip" options together. '
'They are two different ways to retrieve logs.',
'logs.all_argument_and_instance_argument': 'You can\'t use "--instance" with "--all".',
'logs.invalid_cloudwatch_log_source_type': 'You can\'t specify the source type "all" for the '
'"--cloudwatch-log-source" option when retrieving logs. '
'Specify "instance" or "environment-health".',
'logs.cloudwatch_log_source_argument_and_log_group_argument':
'You cannot use the "--cloudwatch-logs" and "--cloudwatch-log-source" '
'options together.',
'logs.cloudwatch_log_source_argumnent_is_invalid_for_retrieval':
'Invalid CloudWatch Logs source type for retrieving logs: "{}". '
'Valid types: instance | environment-health',
'logs.cloudwatch_log_source_argumnent_is_invalid_for_enabling_streaming':
'Invalid CloudWatch Logs source type for setting log streaming: "{}". Valid '
'types: instance | environment-health | all',
'logs.cloudwatch_logs_argument_and_log_group_argument':
'You can\'t use the "--log-group" option when setting log streaming. You can '
'enable or disable all instance log group streaming and/or environment-health '
'streaming.',
'logs.cloudwatch_logs_argument_and_instance_argument':
'You can\'t use the "--instance" option when setting log streaming. You can '
'enable or disable instance log streaming for the entire environment and/or '
'environment-health streaming.',
'logs.cloudwatch_logs_argument_and_all_argument':
'You can\'t use the "--all" option when setting log streaming. This is an '
'output option for log retrieval commands.',
'logs.cloudwatch_logs_argument_and_zip_argument':
'You can\'t use the "--zip" option when setting log streaming. This is an '
'output option for log retrieval commands.',
'logs.health_and_instance_argument':
'You can\'t use the "--instance" option when retrieving environment-health '
'logs. The scope for these logs is the entire environment.',
'logs.environment_health_log_streaming_disabled':
'Can\'t retrieve environment-health logs for environment {}. '
'Environment-health log streaming is disabled.',
'logs.instance_log_streaming_disabled':
'Can\'t retrieve instance logs for environment {}. Instance '
'log streaming is disabled.',
'logs.location': 'Logs were saved to {location}',
'logs.log_group_and_environment_health_log_source':
'You can\'t use the "--log-group" option when retrieving environment-health '
'logs. These logs are in a specific, implied log group.',
'beanstalk-logs.badinstance':
'Can\'t find instance "{}" in the environment\'s instance logs on '
'CloudWatch Logs.',
'cloudwatch-setup.info': 'Create .ebextensions files necessary for setting up '
'CloudWatch used in logging instance deployment.',
'cloudwatch-setup.alreadysetup': 'CloudWatch file {filename} is already set up.',
'cloudwatch-setup.text': '.ebextensions created. In order to complete setup you '
'will need\n'
'to check in any changes, (if applicable) and run '
'"eb deploy".\n'
'You will also need the cloudwatch log permissions for '
'this IAM User\n'
'as well as for the environments instance profile.\n'
'For more information see: http://docs.aws.amazon.com/'
'elasticbeanstalk/latest/dg/AWSHowTo.cloudwatchlogs.html',
'cloudwatch-setup.removetext': 'Removed .ebextensions. In order to complete removal '
'you\n'
'will need to check in any changes, (if applicable) '
'an run\n'
'"eb deploy".',
'cloudwatch_log_streaming.not_setup': os.linesep.join([
'Could not find log group; CloudWatch log streaming might not enabled for this '
'environment.',
' - To enable instance log streaming, run "eb logs -cw enable".',
' - To enable health log streaming, run "eb logs -cw enable -cls '
'environment-health".',
' - To enable all the log streaming features, run "eb logs -cw '
'enable -cls all".',
]),
'cloudwatch_environment_health_log_streaming.enhanced_health_not_found':
'Enhanced health disabled. Could not setup health-transitions log streaming.',
'cloudwatch-logs.nostreams': 'Could not find any log streams with log group: {log_group}',
'cloudwatch_instance_log_streaming.enable':
'Enabling instance log streaming to CloudWatch for your environment',
'cloudwatch_instance_log_streaming.disable':
'Disabling instance log streaming to CloudWatch for your environment',
'cloudwatch_environment_health_log_streaming.enable':
'Enabling health transition log streaming to CloudWatch for your environment',
'cloudwatch_environment_health_log_streaming.disable':
'Disabling health transition log streaming to CloudWatch for your environment',
'cloudwatch-logs.link': 'After the environment is updated you can view your logs '
'by following the link:\n'
'https://console.aws.amazon.com/cloudwatch/home?region={region}'
'#logs:prefix=/aws/elasticbeanstalk/{env_name}/',
'cloudwatch-logs.bjslink': 'After the environment is updated you can view your '
'logs by following the link:\n'
'https://console.amazonaws.cn/cloudwatch/home?region={region}#'
'logs:prefix=/aws/elasticbeanstalk/{env_name}/',
'cloudwatch_instance_log_streaming.already_enabled':
'CloudWatch instance log streaming is already enabled for your environment',
'cloudwatch_environment_health_log_streaming.already_enabled':
'CloudWatch health transition log streaming is already enabled for your environment',
'cloudwatch_instance_log_streaming.already_disabled':
'CloudWatch logs are already disabled for your environment',
'cloudwatch_environment_health_log_streaming.already_disabled':
'CloudWatch health transition log streaming is already disabled for your environment',
'lifecycle.info': 'Modifying application version lifecycle policy',
'lifecycle.epilog': 'Use this command to work with application lifecycle '
'configuration settings. \n'
'To update your application directly in an interactive '
'editor, type:\n'
' eb appversion lifecycle\n',
'lifecycle.success': 'Successfully updated application version lifecycle '
'policy',
'lifecycle.updatenochanges': 'No changes made; exiting',
'lifecycle.invalidrole': 'Passed an invalid role: {role}, cannot update '
'application',
'lifecycle.invalidsyntax': 'The configuration settings you provided contain '
'an error; The lifecycle configuration will not be '
'updated',
'appversion.create': 'Creating application version archive "{version}".',
'appversion.none': 'The current directory does not contain any source code. '
'Elastic Beanstalk is launching the sample application instead.',
'appversion.processfailed': 'Pre-processing of application version {app_version} '
'has failed.',
'appversion.cannotdeploy': 'Some application versions failed to process. Unable '
'to continue deployment.',
'appversion.processtimeout': 'All application versions have not reached a "Processed" '
'state. Unable to continue with deployment.',
'appversion.info': 'Listing and managing application versions',
'appversion.delete.notfound': 'Application {} does not have Application Version {}.',
'appversion.delete.deployed': 'Cannot delete Application version {} as it is deployed '
'to Environments: {}',
'appversion.delete.none': 'You must specify an Application version label to delete an '
'Application version',
'appversion.attribute.failed': 'Application Version {app_version} has failed to '
'generate required attributes.',
'appversion.attribute.timeout': 'Application Versions did not generated the required '
'attributes. Unable to continue with deployment.',
'appversion.attribute.success': 'Found attributes for application version {app_version}',
'codecommit.norepo': 'Repository does not exist in CodeCommit',
'codecommit.nobranch': 'Branch does not exist in CodeCommit',
'codecommit.badregion': 'AWS CodeCommit is not supported in this region; continuing '
'initialization without CodeCommit',
'codecommit.bad_source': 'Source argument must be of the form codecommit/repository-name/branch-name',
'codebuild.noheader': 'Beanstalk configuration header \'{header}\' is missing from '
'Buildspec file; will not use Beanstalk Code Build integration',
'codebuild.latestplatform': 'Buildspec file is present but no image is specified; '
'using latest image for selected platform: {platform}',
'exit.noplatform': 'This workspace is not configured with a platform. Please select '
'one using "eb platform use"',
'platformstatus.upgrade': 'A more recent version of this platform is available. Type '
'\'eb upgrade\' to uprade the platform version used by this environment.',
'platform.nobuilderenv': 'This workspace has not yet been associated with a builder environment. '
'One will be configured once you create a platform version.',
'codebuild.buildlogs': 'You can find logs for the CodeBuild build here: {logs_link}',
'tags.duplicate_across_delete_and_update_lists':
"A tag with the key '{0}' is specified for both '--delete' and '--update'. You can either "
"delete or update each tag in a single operation.",
'tags.duplicate_key_in_add_list': "A tag with the key '{0}' is specified more than once "
"for '--add'. You can add a tag key only once.",
'tags.duplicate_key_in_delete_list': "A tag with the key '{0}' is specified more than once "
"for '--delete'. You can delete a tag key only once.",
'tags.duplicate_key_in_update_list': "A tag with the key '{0}' is specified more than once "
"for '--update'. You can update a tag key only once.",
'tags.invalid_tag_key': "Tag key '{0}' has invalid characters. Only letters, numbers, white "
"space, and these characters are allowed: _ . : / + - @.",
'tags.invalid_tag_value': "Tag value '{0}' has invalid characters. Only letters, numbers, "
"white space, and these characters are allowed: _ . : / = + - @.",
'tags.list_with_other_arguments': "You can't specify the '--list' option with the '--add', "
"'--delete', or '--update' option.",
'tags.resource_environment_conflict': "You can't specify the '--resource' option with the "
"'environment' positional argument",
'tags.resource_tags_missing': "The response of the 'list_tags_for_resource' API call is "
"missing the 'ResourceTags' field.",
'tags.tag_keys_already_exist': "Tags with the following keys can't be added because they "
"already exist:",
'tags.tag_key_cant_be_blank': 'Tag key must not be blank.',
'tags.tag_value_cant_be_blank': 'Tag value must not be blank.',
'tags.tag_keys_dont_exist_for_deletion': "Tags with the following keys can't be deleted "
"because they don't exist:",
'tags.tag_keys_dont_exist_for_update': "Tags with the following keys can't be updated "
"because they don't exist:",
'tags.tag_key_max_length_exceeded': "Tag with the following key exceed length limit. Tag "
"keys can be up to 127 characters in length.",
'tags.tag_value_max_length_exceeded': "Tag with the following value exceed length limit. "
"Tag values can be up to 255 characters in length.",
'cloudformation.cannot_find_app_source_for_environment': 'Cannot find app source for environment',
'spot.instance_type_defaults_notice': 'Defaults provided on Enter',
'spot.instance_types_validation': 'Enter a list of one or more valid EC2 instance types separated'
' by commas (at least two instance types are recommended.)'
}
prompts = {
'common.inputtext': 'make a selection',
'common.inputtext.default': 'default is {}',
'events.hanging': 'Streaming new events. Use CTRL+C to exit.',
'platform.validate': 'It appears you are using {platform}. Is this correct?',
'platform.prompt': 'Select a platform.',
'platformfamily.prompt': 'Select a platform.',
'platformfamily.prompt.customplatform': 'Custom Platform',
'platformbranch.prompt': 'Select a platform branch.',
'platform.prompt.withmodule': 'Select a platform for module: {module_name}.',
'platformssh.nokey': 'This platform builder is not set up for SSH. Use "eb platform '
'ssh --setup" to set up SSH for that environment.',
'sstack.version': 'Select a platform version.',
'init.selectdefaultenv': 'Select the default environment. \n'
'You can change this later by typing "eb use [environment_name]".',
'scale.switchtoloadbalance': 'The environment is currently a single-instance. Do you want'
' to change to a load-balancing environment?',
'scale.switchtoloadbalancewarn': 'If you choose yes, the environment and your application '
'will be temporarily unavailable.',
'cname.unavailable': 'The CNAME you provided is already in use.\n',
'cleanupbuilder.confirm': 'The platform builder environment "{env-name}" and all associated '
'instances will be terminated.',
'cleanupbuilder.validate': 'To confirm, type the environment name',
'cleanupplatform.confirm': 'Failed platform versions for "{platform-name}" will be removed.',
'cleanupplatform.validate': 'To confirm, type the platform name',
'cleanupplatform.validate-all': 'To confirm, type "all"',
'terminate.confirm': 'The environment "{env_name}" and all associated instances '
'will be terminated.',
'terminate.validate': 'To confirm, type the environment name',
'upgrade.validate': 'To continue, type the environment name',
'platformdelete.confirm': 'The platform "{platform-arn}" and all associated '
'resources will be deleted.',
'platformdelete.validate': 'To confirm, type the platform arn',
'delete.confirm': 'The application "{app_name}" and all its resources will '
'be deleted.\n'
'This application currently has the following:\n'
'Running environments: {env_num}\n'
'Configuration templates: {config_num}\n'
'Application versions: {version_num}\n',
'delete.validate': 'To confirm, type the application name',
'fileopen.error1': 'EB CLI cannot open the file using the editor {editor}.',
'update.invalidstate': 'The environment update cannot be complete at this time. '
'Try again later.',
'update.invalidsyntax': 'The configuration settings you provided contain an error. '
'The environment will not be updated.',
'ssh.setup': 'Do you want to set up SSH for your instances?',
'sstack.invalid': 'You specified a platform that is not valid.',
'sstack.invalidkey': 'The EB CLI cannot find a platform for key "{string}".',
'keypair.prompt': 'Select a keypair.',
'keypair.nameprompt': 'Type a keypair name.',
'tier.prompt': 'Select an environment tier.',
'terminate.nomatch': 'Names do not match. Exiting.',
'ssh.nokey': 'This environment is not set up for SSH. Use "eb ssh --setup" '
'to set up SSH for the environment.',
'ssh.setupwarn': 'You are about to setup SSH for environment "{env-name}". '
'If you continue, your existing instances will have to be '
'**terminated** and new instances will be created. '
'The environment will be temporarily unavailable.',
'rds.username': 'Enter an RDS DB username (default is "ebroot")',
'rds.password': 'Enter an RDS DB master password',
'vpc.id': 'Enter the VPC ID',
'vpc.publicip': 'Do you want to associate a public IP address?',
'vpc.ec2subnets': 'Enter a comma-separated list of Amazon EC2 subnets',
'vpc.elbsubnets': 'Enter a comma-separated list of Amazon ELB subnets',
'vpc.securitygroups': 'Enter a comma-separated list of Amazon VPC security groups',
'vpc.elbpublic': 'Do you want the load balancer to be public? (Select no for internal)',
'vpc.dbsubnets': 'Enter a comma-separated list of database subnets',
'logs.retrieving': 'Retrieving logs...',
'swap.envprompt': 'Select the environment with which you want to swap CNAMEs.',
'abort.envprompt': 'Select the environment you want to stop updating.',
'clone.latest': 'There is a newer version of the platform used by the environment '
'you are cloning.\n'
'Select the version of the platform that you want to use for the clone.',
'clone.latestwarn': 'Launching environment clone on most recent platform version. Override '
'this behavior by using the "--exact" option.',
'upgrade.altmessage':
'You can also change your platform version by typing "eb clone" and then "eb swap".',
'upgrade.singleinstance': 'This operation causes application downtime while Elastic '
'Beanstalk replaces the instance.',
'upgrade.norollingapply': 'Elastic Beanstalk will enable {0}-based rolling updates to avoid '
'application downtime while it replaces your instances. You may '
'cancel the upgrade after it has started by typing "eb abort". '
'To upgrade without rolling updates, type "eb upgrade --noroll".',
'upgrade.norollingforce': 'This operation causes application downtime while Elastic Beanstalk '
'replaces your instances.',
'upgrade.rollingupdate':
'This operation replaces your instances with minimal or zero '
'downtime. You may cancel the upgrade after it has started by typing "eb abort".',
'upgrade.infodialog': 'The environment "{0}" will be updated to use the most recent platform '
'version.',
'upgrade.alreadylatest': 'Environment already on most recent platform version.',
'upgrade.applyrolling': 'Enabling {0}-based rolling updates to environment.',
'create.dockerrunupgrade': 'Multicontainer Docker environments do not support the version number '
'of the Dockerrun.aws.json file that you provided. Type '
'"eb labs convert-dockerrun" to convert it to a newer format.',
'ecs.permissions': 'The Multi-container Docker platform requires additional ECS permissions. '
'Add the permissions to the aws-elasticbeanstalk-ec2-role or use your own '
'instance profile by typing "-ip {profile-name}".\n'
'For more information see: '
'https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/'
'create_deploy_docker_ecs.html#create_deploy_docker_ecs_role',
'create.servicerole.info': '2.0+ Platforms require a service role. We will attempt to create '
'one for you. You can specify your own role using the '
'--service-role option.',
'create.servicerole.view': 'Type "view" to see the policy, or just press ENTER to '
'continue',
'create.servicerole.required': '2.0+ Platforms require a service role. You can provide '
'one with --service-role option',
'create.servicerole.nopermissions': 'No permissions to create a role. '
'Create an IAM role called "{}" with appropriate '
'permissions to continue, or specify a role with '
'--service-role.\n'
'See http://docs.aws.amazon.com/elasticbeanstalk/latest/'
'dg/concepts-roles.html for more info.\n'
'Actual error: {}',
'general.pressenter': 'Press enter to continue',
'compose.groupname': 'Please enter the group name to be used',
'restore.prompt': 'Enter a environment # to restore. ESC to exit.',
'restore.selectedenv': '\n'
'Selected environment {env_id}\n'
'Application: {app}\n'
'Description: {desc}\n'
'CNAME: {cname}\n'
'Version: {version}\n'
'Platform: {platform}\n'
'Terminated: {dat_term}\n'
'Restore this environment?',
'codesource.codesourceprompt': 'Select your codesource',
'appversion.redeploy.prompt': 'Select a version # to deploy (1 to {}).',
'appversion.redeploy.inprogress': 'Deploying version {}.',
'appversion.delete.validate': 'Do you want to delete the application '
'version with label: {}?',
'appversion.delete.prompt': 'Select a version # to delete (1 to {}).',
'codecommit.usecc': 'Do you wish to continue with CodeCommit?',
'codebuild.getplatform': 'Could not determine best image for buildspec '
'file please select from list.\n Current chosen '
'platform: {platform}',
'platforminit.ssh': 'Would you like to be able to log into your platform '
'packer environment?',
'spot.instance_types_prompt':'Enter a list of one or more valid EC2 instance '
'types separated by commas (at least two instance '
'types are recommended).',
'spot.enable_spot_prompt': 'Would you like to enable Spot Fleet requests '
'for this environment?',
'sharedlb.shared_load_balancer_request_prompt': 'Your account has one or more sharable load balancers. '
'Would you like your new environment to use a shared load balancer?',
'sharedlb.shared_load_balancer_prompt': 'Select a shared load balancer',
'sharedlb.listener_prompt': 'Select a listener port for your shared load balancer',
'migrate.should_cleanup': "Are you sure you want to clean up older artifacts within the\n"
"'./migrations/directory'? The most recent successful migration\n"
"in directory './migrations/latest' will be preserved.",
}
alerts = {
'env.platform.notrecommended': "The platform version that your environment "
"is using isn't recommended. There's a "
"recommended version in the same platform "
"branch.",
'env.platform.old': 'The platform version that your environment is using '
'isn\'t up to date. There\'s a newer version. Type '
'"eb upgrade" to upgrade your environment to the '
'latest platform version.',
'env.platformbranch.deprecated': 'Your environment is using a deprecated '
'platform branch. It might not be '
'supported in the future.',
'env.platformbranch.retired': "Your environment is using a retired "
"platform branch. It's no longer supported.",
'platform.notrecommended': "The platform version you chose isn't "
"recommended. There's a recommended version in "
"the same platform branch.",
'platform.old': "The platform version you chose isn't up to date. There's "
"a newer version.",
'platformbranch.deprecated': 'You chose a deprecated platform branch. It '
'might not be supported in the future.',
'platformbranch.retired': "You chose a retired platform branch. It's no "
"longer supported.",
'platform.invalidstring': 'Elastic Beanstalk can\'t find a platform '
'version that matches "{}".',
'sharedlb.listener': 'The selected load balancer has no listeners. '
'This prevents routing requests to your environment instances. '
'Use EC2 to add a listener to your load balancer.',
'create.can_not_use_options_together': 'You can\'t use the "{}" and "{}" options together.',
'sharedalb.listener': 'The selected load balancer has no listeners. '
'This prevents routing requests to your environment instances. '
'Use EC2 to add a listener to your load balancer.',
'sharedlb.missing_shared_lb': 'To specify "--shared-lb-port", also specify "--shared-lb" '
'and an Application Load Balancer ("--elb-type application").',
'sharedlb.wrong_elb_type': 'To specify any shared load balancer options, '
'also specify an Application Load Balancer ("--elb-type application").',
'sharedlb.terminate': 'The environment "{env_name}" uses a shared load balancer. '
'Processes and rules that you added during environment creation '
'will be deleted during environment termination. '
'Resources created outside of Elastic Beanstalk, '
'like load balancers and listeners, will not be affected.',
}
flag_text = {
'general.env': 'environment name',
'base.version': 'show application/version info',
'base.verbose': 'toggle verbose output',
'base.profile': 'use a specific profile from your credential file',
'base.region': 'use a specific region',
'general.timeout': 'timeout period in minutes',
'base.noverify': "don't verify AWS SSL certificates",
'clone.env': 'name of environment to clone',
'clone.name': 'desired name for environment clone',
'clone.cname': 'cname prefix',
'clone.scale': 'number of desired instances',
'clone.tags': 'a comma separated list of tags as key=value pairs',
'clone.nohang': 'return immediately, do not wait for clone to be completed',
'clone.exact': 'match the platform version of the original environment',
'config.nohang': 'return immediately, do not wait for config to be completed',
'config.codesource': 'configure the settings for which source the CLI will use '
'for your code.'
' Availables sources: {codecommit}. Available actions: '
'{enable, disable}',
'config.display': 'display current environment configuration settings',
'config.format': 'string format for output: JSON or YAML',
'config.update': 'update configuration settings for current environment',
'config.tags': 'a comma separated list of tags as key=value pairs',
'create.name': 'desired Environment name',
'create.cname': 'cname prefix',
'create.itype': 'instance type i.e. t1.micro',
'create.tier': 'environment tier type',
'create.platform': 'platform',
'create.single': 'environment will use a single instance with no load balancer',
'create.sample': 'use Sample Application',
'create.default': 'set as branches default environment',
'create.iprofile': 'EC2 Instance profile',
'create.servicerole': 'Service Role',
'create.version': 'version label to deploy',
'create.keyname': 'EC2 SSH KeyPair name',
'create.scale': 'number of desired instances',
'create.nohang': 'return immediately, do not wait for create to be completed',
'create.tags': 'a comma separated list of tags as key=value pairs',
'create.envvars': 'a comma-separated list of environment variables as key=value pairs',
'create.database': 'create a database',
'create.vpc': 'create environment inside a VPC',
'create.config': 'saved configuration name',
'create.group': 'group suffix',
'create.modules': 'a list of modules',
'create.elb_type': 'load balancer type',
'create.source': 'source of code to create from directly; example source_location/repo/branch',
'create.process': 'enable preprocessing of the application version',
'create.enable_spot' : 'enable Spot Instances in the new environment',
'create.maxprice' : 'maximum price for Spot Instances',
'create.instance_types' : 'comma-separated list of EC2 instance types to be used in the new environment',
'create.on_demand_capacity' : 'minimum number of On-Demand Instances in a mixed On-Demand / Spot environment',
'create.on_demand_above_base_percent' : 'percentage of additional On-Demand Instances in a mixed On-Demand / Spot environment',
'create.min_instances' : 'minimum number of instances in the new environment',
'create.max_instances' : 'maximum number of instances in the new environment',
'create.shared_lb': 'ARN of shared load balancer',
'create.shared_lb_port': 'Port number for shared load balancer listener',
'deploy.env': 'environment name',
'deploy.modules': 'modules to deploy',
'deploy.version': 'existing version label to deploy',
'deploy.label': 'label name which version will be given',
'deploy.message': 'description for version',
'deploy.nohang': 'return immediately, do not wait for deploy to be completed',
'deploy.staged': 'deploy files staged in git rather than the HEAD commit',
'deploy.group_suffix': 'group suffix',
'deploy.source': 'source of code to deploy directly; example source_location/repo/branch',
'deploy.process': 'enable preprocessing of the application version',
'deploy.archive': 'directory or ZIP file containing application version source code',
'platformevents.version': 'version to retrieve events for',
'events.follow': 'wait and continue to print events as they come',
'init.name': 'application name',
'init.platform': 'default Platform',
'init.keyname': 'default EC2 key name',
'init.interactive': 'force interactive mode',
'init.environment_name': 'default environment name',
'platformcreate.instanceprofile': 'the instance profile to use when creating AMIs '
'for custom platforms',
'ssh.keyname': 'EC2 key to use with ssh',
'init.module': 'module directory',
'init.source': 'source of code to set as default; example source_location/repo/branch',
'labs.cwl.remove': 'remove .ebextensions',
'list.all': 'show environments for all applications',
'local.run.envvars': 'a comma-separated list of environment variables as key=value pairs',
'local.run.hostport': 'the host port that is exposed and mapped to the container port',
'local.run.insecuressl': 'Allow insecure connections to the docker registry',
'local.setenv.vars': 'space-separated list in format: VAR_NAME=KEY',
'logs.all': 'retrieve all logs',
'logs.zip': 'retrieve all logs as .zip',
'logs.instance': 'retrieve logs only for this instance',
'logs.log-group': 'retrieve logs only for this log group',
'logs.stream': 'enable/disable log streaming to CloudWatch Logs',
'logs.environment': 'environment from which to download logs',
'logs.cloudwatch_logs': 'enable/disable log streaming to CloudWatch Logs',
'logs.cloudwatch_log_source': os.linesep.join(
[
'CloudWatch logs source to enable/disable or to retrieve',
'valid values:',
' with --cloudwatch-logs (enable/disable): instance | environment-health | all',
' without --cloudwatch-logs (retrieve): instance | environment-health',
]
),
'migrate.sites': 'Specify a comma-separated list of IIS sites to migrate. If not specified,\n'
'migrates all available sites on the server.',
'migrate.environment_name': 'Name for the new Elastic Beanstalk environment. Defaults to EBMigratedEnv.',
'migrate.application_name': 'Name for the new Elastic Beanstalk application. Defaults to EBMigratedApp.',
'migrate.platform': 'Elastic Beanstalk platform runtime for the environment. If not specified,\n'
'automatically detected from host VM or application.\n'
'Example: "64bit Windows Server 2016 v2.16.2 running IIS 10.0".'
"For a list of available platform versions, use the command 'eb platform list'.",
'migrate.execution_role': 'IAM role for executing eb migrate. Uses credentials from:\n'
'1. ~/.aws/config\n'
'2. AWS CLI credential chain (if config not found)',
'migrate.instance_type': 'EC2 instance type for the Elastic Beanstalk environment. Defaults to c5.2xlarge.',
'migrate.cname': 'CNAME prefix for the Elastic Beanstalk environment.',
'migrate.instance_profile': 'Instance Profile to associate with the EC2 instances running on the environment.',
'migrate.service_role': 'The name of the IAM service role for Elastic Beanstalk to manage related AWS services.\n '
'If not specified, creates a default service role with necessary permissions.',
'migrate.ebs_snapshots': 'Comma-separated list of EBS snapshot IDs to associate with the environment.',
'migrate.stream_to_cloudwatch': 'Stream EB CLI debug logs and execution metrics to CloudWatch.',
'migrate.use_host_ebs_configuration': 'Generate EBS snapshots from volumes attached to the current instance.',
'migrate.keyname': 'EC2 key pair to enable SSH/RDP access to environment instances.\n'
'Useful for investigating instance-level issues not visible in logs.',
'migrate.interactive': 'Force interactive mode for the migration process. Prompts for configuration values even when defaults are available.',
'migrate.tags': 'Comma-separated list of key=value pairs to tag new resources:\n'
'- Elastic Beanstalk application\n'
'- Environment\n'
'- Application version',
'migrate.copy_deps': 'Include all dependency DLLs in the environment, including those in Global\n'
'Assembly Cache (GAC).',
'migrate.archive_only': 'Create only the destination archive directory without deployment.\n'
'The resulting directory can be manually deployed following:\n'
'https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/GettingStarted.DeployApp.html',
'migrate.on_prem_mode': 'Execute EB CLI in EC2-agnostic mode.',
'migrate.force': 'Force non-interactive mode for the migration process.',
'migrate.cleanup': 'Remove all previous migration artifacts from ./migrations/*\n'
' except ./migrations/latest/',
'migrate.explore': 'List all available IIS sites on this server.\n'
'Use --verbose for detailed information.',
'migrate.copy_firewall_config': 'Copy source server firewall configuration to the destination\n'
'for all HTTP ports with active bindings.',
'migrate.encrypt_ebs_volumes': 'Enforce encryption for all new EBS volumes.\n'
'Note: This is an account-wide setting that affects all future\n'
'EBS volume creation.',
'migrate.ssl_certificate_arns': 'Comma-separated list of ARNs for Amazon Certificate Manager (ACM) SSL certificate\n'
'ARN to associate with the Application Load Balancer.',
'migrate.archive': 'The directory or the ZIP file containing source code that\n'
'`eb migrate --archive-only` previously generated. Use this\n'
'option to deploy a previously created migration package.',
'migrate.vpc_config': """VPC config for the environment either in the form of a JSON file or'
a string. In both cases, config must have the format:
{
"id": "<VPC ID>",
"publicip": "true|false",
"elbscheme": "public|private",
"ec2subnets": [list of subnets IDs for the EC2 instances],
"securitygroups": [list of security group IDs],
"elbsubnets": [list of subnets IDs for the load balancer]
}
""",
'restore.env': 'The ID of the environment to restore',
'scale.number': 'number of desired instances',
'scale.force': 'skip confirmation prompt',
'setenv.vars': 'space-separated list in format: VAR_NAME=KEY',
'setenv.env': 'environment name',
'ssh.number': 'index of instance in list',
'ssh.instance': 'instance id',
'ssh.keepopen': 'keep port 22 open',
'ssh.command': 'Execute a shell command on the specified instance instead of starting '
'an SSH session.',
'ssh.custom': "Specify an SSH command to use instead of 'ssh -i keyfile'. Do not "
"include the remote user and hostname.",
'ssh.force': 'force port 22 open to 0.0.0.0',
'ssh.setup': 'setup SSH for the environment',
'ssh.timeout': "Specify the timeout period in minutes. Can only be used with the "
"'--setup' argument.",
'cleanup.resources': 'Valid values include (builder, versions, all). You can specify '
'"builder" to terminate the environment used to create this platform. '
'You can use "versions" to clean up platform versions in the Failed state',
'cleanup.force': 'skip confirmation prompt',
'platformdelete.force': 'skip confirmation prompt',
'platformdelete.cleanup': 'remove all platform versions in the "Failed" state',
'platformdelete.allplatforms': 'enables cleanup for all of your platforms.',
'terminate.force': 'skip confirmation prompt',
'terminate.all': 'terminate everything',
'terminate.nohang': 'return immediately, do not wait for terminate to be completed',
'terminate.ignorelinks': 'terminate even if environment is linked',
'platforminit.name': 'platform name',
'platformcreateversion.version': 'platform version',
'platformcreateversion.major': 'major version increment',
'platformcreateversion.minor': 'minor version increment',
'platformcreateversion.patch': 'patch version increment',
'platformcreateversion.vpc.id': 'specify id of VPC to launch Packer builder into',
'platformcreateversion.vpc.subnets': 'specify subnets to launch Packer builder into',
'platformcreateversion.vpc.publicip': 'associate public IPs to EC2 instances launched if specified',
'platformlogs.version': 'platform version to retrieve logs for',
'platformdeleteversion.version': 'platform version',
'platformshowversion.version': 'platform version',
'platformlist.all': """lists the versions of all platforms owned by your account
(platform workspace only)""",
'platformlist.status': """the status that you wish to filter on (Ready, Failed, Deleting, Creating)
(platform workspace only)
""",
'platformworkspace.platform': 'platform name',
'upgrade.noroll': 'do not enable rolling updates before upgrade',
'use.env': 'environment name',
'use.source': 'source of code to set as default; example source_location/repo/branch',
'use.repo': 'default code commit repository',
'use.branch': 'default code commit branch will use default repository if none is specified',
'swap.env': 'name of source environment',
'swap.name': 'name of destination environment',
'codesource.sourcename': 'name of the code source to set as default',
'appversion.create': 'Create a new version for your application.',
'appversion.application': 'The name of the application you are addressing.',
'appversion.staged': 'Create application version using files staged in git index instead of the HEAD commit.',
'appversion.source': 'Source of code to create application version directly. example: source_location/repo/branch',
'appversion.delete': 'delete the specified application version',
'lifecycle.print': 'prints the current application version lifecycle policy',
'lifecycle.update': 'allows an inline update to a application version lifecycle policy',
'tags.add': 'create new environment tags provided as a comma-separated list of key=value pairs',
'tags.delete': 'delete existing environment tags provided as a comma-separated list of keys',
'tags.env': 'environment on which to perform tags operation',
'tags.info': 'Allows adding, deleting, updating, and listing of environment tags.',
'tags.list': 'lists all environment resource tags',
'tags.resource': "Finds tags associated with given resource.",
'tags.update': 'update existing environment tags provided as a comma-separated list of keys=value pairs',
}
responses = {
'event.completewitherrors': 'Create environment operation is complete, but with errors.',
'event.launched_environment': 'Launched environment',
'event.platform_ami_region_service_region_mismatch': 'Unmatched region for created AMI',
'event.platformdeletesuccess': 'Successfully deleted platform version',
'event.platformdeletefailed': 'Failed to delete platform version',
'event.platformcreatefailed': 'Failed to create platform version',
'event.platformcreatesuccess': 'Successfully created platform version',
'event.redmessage': 'Environment health has been set to RED',
'event.redtoyellowmessage': 'Environment health has transitioned '
'from YELLOW to RED',
'event.yellowmessage': 'Environment health has been set to YELLOW',
'event.greenmessage': 'Environment health has been set to GREEN',
'event.launchsuccess': 'Successfully launched environment:',
'event.launchbad': 'Create environment operation is complete, '
'but with errors',
'event.failedlaunch': 'Failed to launch environment.',
'event.faileddeploy': 'Failed to deploy application.',
'event.failedupdate': 'The environment was reverted to the previous configuration setting.',
'event.updatebad': 'Update environment operation is complete, but with errors.',
'event.updatefailed': 'Failed to deploy configuration.',
'event.instancedeploymentsuccess': 'Instance deployment completed successfully.',
'git.norepository': 'Error: Not a git repository '
'(or any of the parent directories): .git',
'health.nodescribehealth': 'DescribeEnvironmentHealth is not supported.',
'env.updatesuccess': 'Environment update completed successfully.',
'env.configsuccess': 'Successfully deployed new configuration to environment.',
'env.cnamenotavailable': 'DNS name ([^ ]+) is not available.',
'env.nameexists': 'Environment [^ ]+ already exists.',
'app.deletesuccess': 'The application has been deleted successfully.',
'app.exists': 'Application {app-name} already exists.',
'app.notexists': 'No Application named {app-name} found.',
'logs.pulled': 'Pulled logs for environment instances.',
'logs.successtail': 'Successfully finished tailing',
'logs.successbundle': 'Successfully finished bundling',
'logs.fail': 'Failed to pull logs for environment instances.',
'env.terminated': 'terminateEnvironment completed successfully.',
'env.invalidstate': 'Environment named {env-name} is in an invalid state for this operation. '
'Must be Ready.',
'loadbalancer.notfound': 'There is no ACTIVE Load Balancer named',
'loadbalancer.targetgroup.notfound': 'Target group \'{tgarn}\' not found',
'ec2.sshalreadyopen': 'the specified rule "peer: 0.0.0.0/0, TCP, from port: 22, to port: 22,',
'swap.success': 'Completed swapping CNAMEs for environments',
'cfg.nameexists': 'Configuration Template {name} already exists.',
'create.noplatform': 'Unable to determine base for template pack (no solution stack)',
'create.ecsdockerrun1': 'ECS Application sourcebundle validation error: '
'Unsupported AWSEBDockerrunVersion:',
'appversion.finished': 'Finished processing application version',
'tags.tag_update_successful': 'Environment tag update completed successfully.',
'tags.no_tags_to_update': 'Environment tag update failed.',
'restore.norestore': 'Environment will not be restored',
}
git_ignore = [
'# Elastic Beanstalk Files',
'.elasticbeanstalk/*',
'!.elasticbeanstalk/*.cfg.yml',
'!.elasticbeanstalk/*.global.yml',
]
docker_ignore = git_ignore[:2] + ['.git', '.gitignore']