def test_apply_auth_config()

in standalone/test.py [0:0]


def test_apply_auth_config():
    session = get_aws_session()
    sts_client = session.client('sts')
    account_id = sts_client.get_caller_identity()["Account"]

    apply_aws_auth_config_map(session,REGION,account_id,CLUSTER_NAME,CFG_MAP_USER_NAME, CFG_MAP_ROLE_NAME, CLUSTER_ROLE_NAME)
    print("applied- config")