Skip to content

Commit cc9efdf

Browse files
committed
improve TF module output
1 parent 47e198f commit cc9efdf

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

outputs.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,20 @@ output "vcs_db_migration_checker_registration_url" {
2828
output "local_ui_url" {
2929
value = "${format("%s://%s:%s", "https",join("", aws_route53_record.dblab_subdomain.*.fqdn),"446")}"
3030
}
31+
32+
locals {
33+
message = <<EOT
34+
35+
36+
Congratulations!
37+
You have successfully provisioned cloud infrastructure for DLE.
38+
39+
To connect to created VM you may ssh ubuntu@${aws_instance.aws_ec2.public_ip} -i ${var.aws_deploy_ec2_instance_tag_name}.pem
40+
To open local UI ${format("%s://%s:%s", "https",join("", aws_route53_record.dblab_subdomain.*.fqdn),"446")}
41+
To open to DLE api ${format("%s://%s", "https",join("", aws_route53_record.dblab_subdomain.*.fqdn))}
42+
To open CI Checker API ${format("%s://%s:%s", "https",join("", aws_route53_record.dblab_subdomain.*.fqdn),"445")}
43+
EOT
44+
}
45+
output "next_steps" {
46+
value = local.message
47+
}

0 commit comments

Comments
 (0)