Skip to content

Commit

Permalink
Small fix to AWS AVP cli init script (apache#42479)
Browse files Browse the repository at this point in the history
  • Loading branch information
o-nikolas authored and joaopamaral committed Oct 21, 2024
1 parent 38e1643 commit 9df76d6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions airflow/providers/amazon/aws/auth_manager/cli/avp_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from __future__ import annotations

import json
import logging
from pathlib import Path
from typing import TYPE_CHECKING
Expand Down Expand Up @@ -64,10 +63,8 @@ def init_avp(args):
_set_schema(client, policy_store_id, args)

if not args.dry_run:
print(
"Please set configs below in Airflow configuration under AIRFLOW__AWS_AUTH_MANAGER__<config name>."
)
print(json.dumps({"avp_policy_store_id": policy_store_id}, indent=4))
print("Please set configs below in Airflow configuration:\n")
print(f"AIRFLOW__AWS_AUTH_MANAGER__AVP_POLICY_STORE_ID={policy_store_id}\n")


@cli_utils.action_cli
Expand Down

0 comments on commit 9df76d6

Please sign in to comment.