Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Dec 25, 2023
1 parent 3b7e6b0 commit bb3d1d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cid/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if sys.version_info < (3, 8):
from importlib_metadata import entry_points
from functools import lru_cache
cached_property = lambda x: property(lru_cache(x))
cached_property = lambda x: property(lru_cache()(x))
else:
from importlib.metadata import entry_points
from functools import cached_property #since python 3.8
Expand Down
3 changes: 3 additions & 0 deletions cid/test/bats/10-deploy-update-delete/cudos.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ account_id=$(aws sts get-caller-identity --query "Account" --output text )
database_name="${database_name:-athenacurcfn_cur1}" # If variable not set or null, use default
quicksight_user="${quicksight_user:-cicd-staging}" # If variable not set or null, use default
quicksight_datasource_id="${quicksight_datasource_id:-31c87a3c-8494-4f42-a590-c6930602e8e7}" # If variable not set or null, use default
cur_table="${cur_table:-cur1}" # If variable not set or null, use default. FIXME can be autodetected!


@test "Install" {
run cid-cmd -vv deploy \
--dashboard-id cudos-v5 \
--athena-database $database_name\
--account-map-source dummy \
--cur-table-name $cur_table \
--quicksight-user $quicksight_user \
--share-with-account \
--quicksight-datasource-id $quicksight_datasource_id
Expand Down

0 comments on commit bb3d1d1

Please sign in to comment.