libera_utils.aws.ecr_upload.login_to_ecr#
- libera_utils.aws.ecr_upload.login_to_ecr(account_id, region_name)#
Login to the AWS ECR using commands :param account_id: Users AWS account ID :type account_id: int :param region_name: String of the region that the users AWS account is in :type region_name: string
- Returns:
result – subproccess object that holds the details of the completed CLI command
- Return type:
CompletedProcess