diff --git a/deploy.py b/deploy.py index 6effda6..9c352a7 100644 --- a/deploy.py +++ b/deploy.py @@ -30,6 +30,7 @@ def get_ssh_key(client: Client) -> BoundSSHKey: name=SSH_KEY_NAME, public_key=ssh_key_pub) print( f"Klucz SSH: {ssh_key.data_model.name}, {ssh_key.data_model.public_key}") + return ssh_key def get_vnet(client: Client) -> BoundNetwork: @@ -45,6 +46,7 @@ def get_vnet(client: Client) -> BoundNetwork: ) print( f"Sieć wirtualna: {vnet.data_model.name} ({vnet.data_model.ip_range})") + return vnet def create_db_server(client: Client, vnet: BoundNetwork, ssh_key: BoundSSHKey) -> BoundServer: