Skip to content

Commit 11319ef

Browse files
author
Matei Stanescu
committed
fix
1 parent 3233eb7 commit 11319ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ops/inventory/plugin/cns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def cns(args):
2626
jsn = ec2(dict(
2727
region=region,
2828
boto_profile=profile,
29+
teleport_enabled=args.get('teleport_enabled', False),
2930
cache=args.get('cache', 3600 * 24),
3031
filters=[
3132
{'Name': 'tag:cluster', 'Values': [cns_cluster]}

src/ops/inventory/plugin/ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def ec2(args):
1515
filters = args.get('filters', [])
1616
bastion_filters = args.get('bastion', [])
17-
teleport_enabled = args.get('teleport_enabled', False)
17+
teleport_enabled = args.get('teleport_enabled')
1818

1919
if args.get('cluster') and not args.get('filters'):
2020
filters = [{'Name': 'tag:cluster', 'Values': [args.get('cluster')]}]

0 commit comments

Comments
 (0)