Last active
March 23, 2020 03:46
-
-
Save ryan-blunden/4c8e4d6e037427e901ca46eb47bcb6b7 to your computer and use it in GitHub Desktop.
Deploy Sourcegraph on AWS using Terraform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "sourcegraph" { | |
source = "github.com/sourcegraph/deploy-sourcegraph-aws" | |
vpc_id = "vpc-b3708ed4" | |
subnet_id = "subnet-091a876e" | |
app_name = "sourcegraph-demo" | |
instance_type = "t2.xlarge" | |
key_name = "ryan-blunden" | |
} | |
output "instance_id" { | |
value = "${module.sourcegraph.instance_id}" | |
} | |
output "server_url" { | |
value = "${module.sourcegraph.server_url}" | |
} | |
output "server_ip" { | |
value = "${module.sourcegraph.server_ip}" | |
} | |
output "ssh" { | |
value = module.sourcegraph.ssh | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment