diff --git a/samcli/commands/bootstrap/exceptions.py b/samcli/commands/bootstrap/exceptions.py index 1b4d0ed458..d3d7fa88bc 100644 --- a/samcli/commands/bootstrap/exceptions.py +++ b/samcli/commands/bootstrap/exceptions.py @@ -7,5 +7,5 @@ class ManagedStackError(UserException): def __init__(self, ex): self.ex = ex - message_fmt = f"\nFailed to create managed resources: {ex}" + message_fmt = f"Failed to create managed resources: {ex}" super(ManagedStackError, self).__init__(message=message_fmt.format(ex=self.ex)) diff --git a/samcli/commands/deploy/command.py b/samcli/commands/deploy/command.py index 9930a3c265..23b37b24a5 100644 --- a/samcli/commands/deploy/command.py +++ b/samcli/commands/deploy/command.py @@ -436,7 +436,11 @@ def save_config(template_file, parameter_overrides, **kwargs): click.echo(f"\n\tSaved arguments to config file") click.echo("\tRunning 'sam deploy' for future deployments will use the parameters saved above.") click.echo("\tThe above parameters can be changed by modifying samconfig.toml") - click.echo("\tLearn more about samconfig.toml syntax http://url") + click.echo( + "\tLearn more about samconfig.toml syntax at " + "\n\thttps://docs.aws.amazon.com/serverless-application-model/latest/" + "developerguide/serverless-sam-cli-config.html" + ) def get_config_ctx(template_file):