Skip to content

Commit

Permalink
feat: expose service tokens for Metal connections (#247)
Browse files Browse the repository at this point in the history
This updates the API response mapper for Metal connections so that
Ansible collection users can access `service_tokens` for a Metal
connection without having to go to the [Equinix Metal
console](https://console.equinix.com).
  • Loading branch information
ctreatma authored Oct 21, 2024
1 parent 3b94703 commit 1944f49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/module_utils/metal/metal_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def get_assignment_address(resource: dict):
'ports': 'ports',
'requested_by': 'requested_by',
'status': 'status',
'service_tokens': optional('service_tokens')
}

def private_ipv4_subnet_size(resource: dict):
Expand Down

0 comments on commit 1944f49

Please sign in to comment.