@@ -253,29 +253,29 @@ def __init__(self, use_profile=None):
253
253
log (f'\n Error: "{ self .profile } " does not exist in the configuration file (remember case sensitive)\n ' )
254
254
sys .exit (1 )
255
255
else :
256
- # Get default profile
257
- self .profile = config .get (
256
+ # Get default Froster profile
257
+ self .froster_profile = config .get (
258
258
'DEFAULT_PROFILE' , 'profile' , fallback = None )
259
259
260
260
# Get the provider
261
261
self .provider = config .get (
262
- self .profile , 'provider' , fallback = None )
262
+ self .froster_profile , 'provider' , fallback = None )
263
263
264
- # Get the credentials
265
- self .credentials = config .get (
266
- self .profile , 'credentials' , fallback = None )
264
+ # Get the AWS credentials profile
265
+ self .aws_profile = config .get (
266
+ self .froster_profile , 'credentials' , fallback = None )
267
267
268
268
# Current S3 Bucket name
269
269
self .bucket_name = config .get (
270
- self .profile , 'bucket_name' , fallback = None )
270
+ self .froster_profile , 'bucket_name' , fallback = None )
271
271
272
272
# Archive directoy inside AWS S3 bucket
273
273
self .archive_dir = config .get (
274
- self .profile , 'archive_dir' , fallback = None )
274
+ self .froster_profile , 'archive_dir' , fallback = None )
275
275
276
276
# Store aws s3 storage class in the config object
277
277
self .storage_class = config .get (
278
- self .profile , 'storage_class' , fallback = None )
278
+ self .froster_profile , 'storage_class' , fallback = None )
279
279
280
280
# Get the region
281
281
self .region = self .get_region (aws_profile = self .aws_profile )
0 commit comments