From 150c8e4554564d49f94aa1362bc2b0017fc09931 Mon Sep 17 00:00:00 2001 From: Andrew Moffat Date: Tue, 28 Apr 2020 09:59:33 -0700 Subject: [PATCH] forgot to parametrize key_name --- README.md | 1 + scripts/destroy_subdomain.sh | 1 + scripts/provision_subdomain.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 1036c73..577c4d1 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ That's it! 1. Set `subdomain` to be the subdomain you wish your installation to appear under, for example `test`. 1. Set `region` to be the AWS region. I use `us-west-2`. **This must be the same region as your keypair and certificate.** See the [full list](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions). 1. Change the `instance_type` to a machine with the power you want. See the [full list](https://www.ec2instances.info/). + 1. Set the `key_name` to be the name of your SSH keypair created in AWS. 1. Set `dns_zone`. It will look like `Z4T3BDVSEN6BC` 1. Set `cert_arn`. It will start with `arn:aws:acm:` 1. If you wish to use non-standard branches, change `jitsi_branch` and `tf_jitsi_branch`. diff --git a/scripts/destroy_subdomain.sh b/scripts/destroy_subdomain.sh index e6a1f5f..b84bd32 100755 --- a/scripts/destroy_subdomain.sh +++ b/scripts/destroy_subdomain.sh @@ -14,6 +14,7 @@ terraform destroy \ -var region="$region" \ -var tf_jitsi_branch="$tf_jitsi_branch" \ -var jitsi_branch="$jitsi_branch" \ + -var key_name="$key_name" \ -var instance_type="$instance_type" \ -var dns_zone="$dns_zone" \ -var cert="$cert_arn" \ No newline at end of file diff --git a/scripts/provision_subdomain.sh b/scripts/provision_subdomain.sh index d18b038..02f9708 100755 --- a/scripts/provision_subdomain.sh +++ b/scripts/provision_subdomain.sh @@ -47,6 +47,7 @@ terraform apply \ -var region="$region" \ -var tf_jitsi_branch="$tf_jitsi_branch" \ -var jitsi_branch="$jitsi_branch" \ + -var key_name="$key_name" \ -var instance_type="$instance_type" \ -var dns_zone="$dns_zone" \ -var cert="$cert_arn" \