aws/__init__.py: update aws.key_pair()
This commit is contained in:
parent
921095c67a
commit
33c334d155
@ -22,7 +22,7 @@ def vpc():
|
||||
return vpc.id
|
||||
|
||||
#------------------------------------#
|
||||
def key_pair( resource_name: str, public_key: Optional[str] = None):
|
||||
def key_pair( resource_name: str, public_key: str ):
|
||||
keypair = ec2.KeyPair( resource_name, public_key )
|
||||
return keypair.key_name
|
||||
#------------------------------------#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user