diff --git a/cfn-templates/cid-cfn.yml b/cfn-templates/cid-cfn.yml index c86952fc..b2f5158e 100644 --- a/cfn-templates/cid-cfn.yml +++ b/cfn-templates/cid-cfn.yml @@ -1,5 +1,5 @@ AWSTemplateFormatVersion: '2010-09-09' -Description: Deployment of Cloud Intelligence Dashboards v0.3.13 +Description: Deployment of Cloud Intelligence Dashboards v0.3.14 Metadata: AWS::CloudFormation::Interface: ParameterGroups: @@ -1625,7 +1625,7 @@ Resources: Description: An AWS managed layer with a cid-cmd package installed Content: S3Bucket: !Sub '${LambdaLayerBucketPrefix}-${AWS::Region}' - S3Key: 'cid-resource-lambda-layer/cid-0.3.13.zip' #replace version here if needed + S3Key: 'cid-resource-lambda-layer/cid-0.3.14.zip' #replace version here if needed CompatibleRuntimes: - python3.10 - python3.11 diff --git a/cid/_version.py b/cid/_version.py index 8300a52e..1ec0501b 100644 --- a/cid/_version.py +++ b/cid/_version.py @@ -1 +1 @@ -__version__ = '0.3.13' +__version__ = '0.3.14' diff --git a/cid/common.py b/cid/common.py index d52550fc..d45d2446 100644 --- a/cid/common.py +++ b/cid/common.py @@ -1060,7 +1060,7 @@ def check_dashboard_version_compatibility(self, dashboard_id): cid_print(f" Version {str(dashboard.cid_version)}") else: cid_print(f"An update is available:") - cid_print(f" Version {str(dashboard.cid_version): <9} -> {str(cid_version_latest): <9}") + cid_print(f" Version {str(dashboard.cid_version): <9} -> {str(dashboard.cid_version_latest): <9}") try: return dashboard.cid_version.compatible_versions(dashboard.cid_version) diff --git a/cid/export.py b/cid/export.py index 4c3fa0c9..cc8935da 100644 --- a/cid/export.py +++ b/cid/export.py @@ -195,9 +195,10 @@ def export_analysis(qs, athena, glue): } if dep_cur: datasets[dataset_name]['dependsOn']['cur'] = True - all_views, all_databases = list(zip(*all_views_and_databases)) + all_views = [view_and_database[0] for view_and_database in all_views_and_databases] + all_databases = [view_and_database[1] for view_and_database in all_views_and_databases] if len(all_databases) > 1: - logger.warning(f'CID only supports one database. Multiple used: {all_databases}') # fixme need to fix database + logger.warning(f'CID only supports one database. Multiple used: {all_databases}') if all_databases: athena.DatabaseName = all_databases[0]