File tree 2 files changed +6
-13
lines changed
2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ def guided_prompts(self, parameter_override_keys):
182
182
183
183
click .echo ("\n \t Looking for resources needed for deployment:" )
184
184
managed_s3_bucket = manage_stack (profile = self .profile , region = region )
185
- print_managed_s3_bucket_info (managed_s3_bucket , bold = True , show_s3_bucket_option = False )
186
- click .echo ("\t Auto resolution of buckets can be turned off by setting resolve_s3=False" )
185
+ print_managed_s3_bucket_info (managed_s3_bucket )
187
186
188
187
image_repositories = (
189
188
sync_ecr_stack (
Original file line number Diff line number Diff line change @@ -36,26 +36,20 @@ def manage_stack(profile, region):
36
36
return bucket_name
37
37
38
38
39
- def print_managed_s3_bucket_info (
40
- s3_bucket : str , bold : Optional [bool ] = False , show_s3_bucket_option : Optional [bool ] = True
41
- ):
39
+ def print_managed_s3_bucket_info (s3_bucket : str ):
42
40
"""
43
41
Print information about the managed S3 bucket.
44
42
45
43
Parameters
46
44
----------
47
45
s3_bucket : str
48
46
The name of the managed S3 bucket
49
- bold : bool, optional
50
- Whether to print the message in bold, by default False
51
- show_s3_bucket_option : bool, optional
52
- Whether to show the s3-bucket option message, by default True
53
47
"""
54
48
message = f"\n \t Managed S3 bucket: { s3_bucket } "
55
- click .secho (message , bold = bold )
56
- click .echo ("\t A different default S3 bucket can be set in samconfig.toml " )
57
- if show_s3_bucket_option :
58
- click .echo ("\t Or by specifying --s3-bucket explicitly. " )
49
+ click .secho (message , bold = True )
50
+ click .echo ("\t Auto resolution of buckets can be turned off by setting resolve_s3=False " )
51
+ click . echo ( " \t To use a specific S3 bucket, set --s3-bucket=<bucket_name>" )
52
+ click .echo ("\t Above settings can be stored in samconfig.toml " )
59
53
60
54
61
55
def get_current_account_id (profile : Optional [str ] = None ):
You can’t perform that action at this time.
0 commit comments