vmware / python-client-for-vmware-cloud-on-aws

Python Client for VMware Cloud on AWS is an open-source Python-based tool. Written in Python, the tool enables VMware Cloud on AWS users to automate the consumption of their VMware Cloud on AWS SDDC.
Other
24 stars 20 forks source link

Use AWS account number for SDDC create commands #157

Closed fr0gger03 closed 1 year ago

fr0gger03 commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently the syntax of sddc create requires the long-form ID for the connected AWS account (e.g. 56a0415f-1eda-3ea0-96a6-XXXXXXXXXXXX). As a user, one would have to first query the API to retrieve this - which is not currently in the code - or know it beforehand to be able to correctly issue a command to create a SDDC connected to a given AWS account.

Describe the solution you'd like

I propose such a query be added transparently to the sddc create command so that a user only need provide their AWS account (e.g. 1234XXXX) - which the user should have access to directly from their AWS console.

Describe alternatives you've considered

No response

Additional context

No response