diff --git a/worker/worker/issue_tokens.py b/worker/worker/manual/issue_tokens_from_garage.py similarity index 100% rename from worker/worker/issue_tokens.py rename to worker/worker/manual/issue_tokens_from_garage.py diff --git a/worker/worker_cdk_stack.py b/worker/worker_cdk_stack.py index 08675d0..e2d7005 100644 --- a/worker/worker_cdk_stack.py +++ b/worker/worker_cdk_stack.py @@ -292,12 +292,12 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None: ) token_issuer = _lambda.Function( - self, f"{config.stage}-9c-iap-token-issue-function", - function_name=f"{config.stage}-9c-iap-issue-token", + self, f"{config.stage}-9c-iap-issue-tokens-from-garage-function", + function_name=f"{config.stage}-9c-iap-issue-tokens-from-garage", runtime=_lambda.Runtime.PYTHON_3_10, description=f"Execute IssueTokensFromGarage action", code=_lambda.AssetCode("worker/worker", exclude=exclude_list), - handler="issue_tokens.issue", + handler="manual.issue_tokens_from_garage.issue", layers=[layer], role=role, vpc=shared_stack.vpc,