Skip to content

Commit c8c0191

Browse files
authored
Merge pull request #124 from shaneknapp/squelch-aws-output
squelch aws output so as to not show our user id
2 parents 4d698ae + 051600b commit c8c0191

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hubploy/auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def cluster_auth_aws(deployment, cluster, region, service_key=None, role_arn=Non
205205
role_session_name="hubploy-cluster-auth",
206206
):
207207
subprocess.check_call(
208-
["aws", "eks", "update-kubeconfig", "--name", cluster, "--region", region]
208+
["aws", "eks", "update-kubeconfig", "--name", cluster, "--region", region],
209+
stdout=subprocess.DEVNULL,
210+
stderr=subprocess.STDOUT
209211
)
210212
yield
211213

0 commit comments

Comments
 (0)