Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3332692
D12959.id43206.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
910 B
Referenced Files
None
Subscribers
None
D12959.id43206.diff
View Options
diff --git a/services/terraform/self-host/aws-deploy.sh b/services/terraform/self-host/aws-deploy.sh
--- a/services/terraform/self-host/aws-deploy.sh
+++ b/services/terraform/self-host/aws-deploy.sh
@@ -19,6 +19,10 @@
health_check_domain=$(echo "var.keyserver_domain_name" | terraform console -var-file terraform.tfvars.json | tr -d '"')
health_check_url="https://${health_check_domain}/health"
num_desired_secondary_nodes=$(echo "var.desired_secondary_nodes" | terraform console -var-file terraform.tfvars.json)
+aws_region=$(echo "var.region" | terraform console -var-file terraform.tfvars.json | tr -d '"')
+
+# Set aws-cli region to aws region self-hosted keyserver is deployed on
+export AWS_REGION=$aws_region
if [[ -z "${AWS_ACCESS_KEY_ID}" || -z "${AWS_SECRET_ACCESS_KEY}" ]]; then
echo "Error: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables must be set to run migration."
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 1:14 AM (3 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2559253
Default Alt Text
D12959.id43206.diff (910 B)
Attached To
Mode
D12959: [terraform] Adds aws region export to aws-deploy.sh script
Attached
Detach File
Event Timeline
Log In to Comment