Skip to content

Commit

Permalink
Merge pull request #2476 from input-output-hk/deployment-fixes
Browse files Browse the repository at this point in the history
A pair of small deployment script tweaks.
  • Loading branch information
krisajenkins committed Nov 17, 2020
2 parents e2a4dd4 + 6e005e7 commit b0fd223
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The individual machines now exist but have nothing installed on them. We configu

1. ssh onto the nixops machine `ssh nixops.plutus_playground` and accept the fingerprints
2. Clone the plutus repository `git clone https://github.com/input-output-hk/plutus.git`
3. exit the machine and from the project root copy the generated json files onto the nixops machine `scp ./deployment/nixops/*.json root@nixops.plutus_playground:~/plutus/deployment/nixops`
3. exit the machine and from the project root copy the generated json files onto the nixops machine `scp ./deployment/nixops/*.json nixops.plutus_playground:~/plutus/deployment/nixops`
4. ssh onto the nixops machine again `ssh -A nixops.plutus_playground` (notice `-A` you will need agent forwarding)
5. Enter the project `cd plutus`
6. Switch to the branch you want to work with e.g. `git checkout master`
Expand Down
2 changes: 1 addition & 1 deletion deployment/terraform/lambdas.tf
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ resource "aws_lambda_function" "plutus_playground" {
GITHUB_CLIENT_SECRET = var.plutus_github_client_secret
JWT_SIGNATURE = var.plutus_jwt_signature
GITHUB_REDIRECT_URL = "https://${var.env}.${var.plutus_tld}"
WEBGHC_URL = "https://${var.env}.${var.marlowe_tld}"
WEBGHC_URL = "https://${var.env}.${var.plutus_tld}"
}
}
}
2 changes: 1 addition & 1 deletion deployment/terraform/ssh_config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "template_file" "ssh_config_section_nixops" {
short_hostname = "nixops.${var.project}"
ip = aws_instance.nixops.private_ip
bastion_hostname = aws_instance.bastion.*.public_ip[0]
user_name = "nixops"
user_name = "root"
}
}

Expand Down

0 comments on commit b0fd223

Please sign in to comment.