Skip to content

Commit

Permalink
[mq] working branch - merge 28c4608 on top of main at e015462
Browse files Browse the repository at this point in the history
{"baseBranch":"main","baseCommit":"e015462e5f6108e23a8f0c9b1d8b0c3c54d9d265","createdAt":"2024-12-20T14:55:40.817403Z","headSha":"28c46086b5a5cc27d5ad509b307e1403f5157295","id":"b1a3678c-f1b7-45b7-be41-a89e18ee138c","priority":"200","pullRequestNumber":"1262","queuedAt":"2024-12-20T14:55:40.816470Z","status":"STATUS_QUEUED"}
  • Loading branch information
dd-mergequeue[bot] authored Dec 20, 2024
2 parents 2efef59 + 28c4608 commit b5bc71a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/aws/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from tasks.deploy import deploy as common_deploy

default_public_path_key_name = "ddinfra:aws/defaultPublicKeyPath"
default_private_path_key_name = "ddinfra:aws/defaultPrivateKeyPath"


def deploy(
Expand Down Expand Up @@ -42,6 +43,10 @@ def deploy(

flags[default_public_path_key_name] = _get_public_path_key_name(cfg, public_key_required)

privateKeyPath = cfg.get_aws().privateKeyPath
if privateKeyPath is not None:
flags[default_private_path_key_name] = privateKeyPath

awsKeyPairName = cfg.get_aws().keyPairName

flags["ddinfra:aws/defaultKeyPairName"] = awsKeyPairName
Expand Down

0 comments on commit b5bc71a

Please sign in to comment.