diff --git a/examples/root-example/README.md b/examples/root-example/README.md index 3de822fc..3cdcb3eb 100644 --- a/examples/root-example/README.md +++ b/examples/root-example/README.md @@ -10,7 +10,7 @@ This example assumes you have already set up your gcp project with the required With this code you can either create a single instance, or a build a cluster: -![basic architecture diagram](../../assets/aws_diagram.jpg) +![basic architecture diagram](https://github.com/hashicorp/terraform-aws-terraform-enterprise/blob/v0.0.1-beta/assets/aws_diagram.jpg?raw=true) ## Change to the example directory @@ -47,10 +47,24 @@ terraform apply ## Wait for the application to load -The replicated console url will output along with the password. +The installer dashboard url will output along with the password. -![output](../../assets/output.jpg) - -You can log into that dashboard at that url and wait for the application to be ready. This can take up to 30 minutes! Once complete use the `Open` link to set up the admin user and initial organization. +``` +Apply complete! Resources: 33 added, 0 changed, 0 destroyed. + +Outputs: + +tfe-beta = { + application_endpoint = https://tfe-hvg9o7lo.example.com + application_health_check = https://tfe-hvg9o7lo.example.com/_health_check + iam_role = tfe-hvg9o7lo + install_id = hvg9o7lo + installer_dashboard_url = https://tfe-hvg9o7lo.example.com:8800 + installer_dashboard_password = manually-grand-gator + primary_public_ip = 12.34.56.78 + ssh_config_file = /Users/jsmith/Documents/tfe-beta/.terraform/modules/c8066b63fe35e7cb30635ab501caa438/hashicorp-terraform-aws-terraform-enterprise-4dc067c/work/ssh-config + ssh_private_key = /Users/jsmith/Documents/tfe-beta/.terraform/modules/a1d4d4cc38b069facc8774038e3ad299/work/tfe-hvg9o7lo.priv +} +``` -![application started](app_started.png) \ No newline at end of file +You can log into that dashboard at that url and wait for the application to be ready. This can take up to 30 minutes! Once complete use the `Open` link to set up the admin user and initial organization. \ No newline at end of file diff --git a/examples/root-example/main.tf b/examples/root-example/main.tf index 20ae42d5..eee5dd0e 100644 --- a/examples/root-example/main.tf +++ b/examples/root-example/main.tf @@ -2,24 +2,24 @@ provider "aws" { region = "us-west-2" } -module "tfe-ha" { - source = "hashicorp/tfe-ha/aws" - version = "0.0.1-beta" +module "tfe-beta" { + source = "hashicorp/terraform-enterprise/aws" + version = "0.0.2-beta" vpc_id = "vpc-123456789abcd1234" domain = "example.com" license_file = "company.rli" } -output "tfe-ha" { +output "tfe-beta" { value = { - application_endpoint = "${module.tfe-ha.application_endpoint}" - application_health_check = "${module.tfe-ha.application_health_check}" - iam_role = "${module.tfe-ha.iam_role}" - install_id = "${module.tfe-ha.install_id}" - installer_dashboard_password = "${module.tfe-ha.installer_dashboard_password}" - installer_dashboard_url = "${module.tfe-ha.installer_dashboard_url}" - primary_public_ip = "${module.tfe-ha.primary_public_ip}" - ssh_private_key = "${module.tfe-ha.ssh_private_key}" + application_endpoint = "${module.tfe-beta.application_endpoint}" + application_health_check = "${module.tfe-beta.application_health_check}" + iam_role = "${module.tfe-beta.iam_role}" + install_id = "${module.tfe-beta.install_id}" + installer_dashboard_password = "${module.tfe-beta.installer_dashboard_password}" + installer_dashboard_url = "${module.tfe-beta.installer_dashboard_url}" + primary_public_ip = "${module.tfe-beta.primary_public_ip}" + ssh_private_key = "${module.tfe-beta.ssh_private_key}" } }