diff --git a/ssm.py b/ssm.py index e0468f4..d8649bc 100644 --- a/ssm.py +++ b/ssm.py @@ -28,7 +28,7 @@ class SSMPath(pathlib.PurePosixPath): return SSMPath(value) -ProfileArg = typing.Annotated[str, typer.Argument(autocompletion=aws_profiles)] +ProfileArg = typing.Annotated[str, typer.Argument(autocompletion=lambda: aws_profiles)] def get_client(profile: str) -> botocore.client.BaseClient: