Skip to content

Commit f02aaa0

Browse files
DmitryFomin1NikolayS
authored andcommitted
TF rename variables
1 parent 0ad432e commit f02aaa0

12 files changed

+165
-159
lines changed

README.md

+39-33
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Your source PostgreSQL database can be located anywhere, but DLE with other comp
1414
- [Terraform Installed](https://learn.hashicorp.com/tutorials/terraform/install-cli) (minimal version: 1.0.0)
1515
- AWS [Route 53](https://aws.amazon.com/route53/) Hosted Zone (For setting up TLS) for a domain or sub-domain you control
1616
- You must have AWS Access Keys and a default region in your Terraform environment (See section on required IAM Permissions)
17-
- The DLE runs on an EC2 instance which can be accessed using a selected set of SSH keys uploaded to EC2. Use the Terraform parameter `keypair` to specify which EC2 Keypair to use
17+
- The DLE runs on an EC2 instance which can be accessed using a selected set of SSH keys uploaded to EC2. Use the Terraform parameter `aws_keypair` to specify which EC2 Keypair to use
1818
- Required IAM Permissions: to successfully run this Terraform module, the IAM User/Role must have the following permissions:
1919
* Read/Write permissions on EC2
2020
* Read/Write permissions on Route53
@@ -33,8 +33,8 @@ Your source PostgreSQL database can be located anywhere, but DLE with other comp
3333
## Quick start
3434
The following steps were tested on Ubuntu 20.04 but supposed to be valid for other Linux distributions without significant modification.
3535

36-
1. SSH to any machine with internet access, it will be used as deployment machine
37-
1. Install Terraform https://learn.hashicorp.com/tutorials/terraform/install-cli. Example for Ubuntu:
36+
1. SSH to any machine with internet access, it will be used as deployment machine
37+
1. Install Terraform https://learn.hashicorp.com/tutorials/terraform/install-cli. Example for Ubuntu:
3838
```shell
3939
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
4040
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
@@ -43,39 +43,45 @@ The following steps were tested on Ubuntu 20.04 but supposed to be valid for oth
4343
# Verify installation.
4444
terraform -help
4545
```
46-
1. Get TF code for Database Lab:
46+
1. Get TF code for Database Lab:
4747
```shell
4848
git clone https://gitlab.com/postgres-ai/database-lab-infrastructure.git
4949
cd database-lab-infrastructure/
5050
```
51-
1. Edit `terraform.tfvars` file. In our example, we will use Heroku demo database as a source:
52-
```shell
53-
dle_ami_name = "DBLABserver*"
54-
dle_version_full = "2.3.3"
55-
aws_region = "us-east-2"
56-
instance_type = "t2.large"
57-
keypair = "postgres_ext_test"
58-
allow_ssh_from_cidrs = ["0.0.0.0/0"]
59-
tag_name = "DBLABserver-ec2instance"
60-
availability_zone="us-east-2a"
61-
ebs_size="40"
62-
ebs_type="gp2"
63-
postgres_source_dbname="d3dljqkrnopdvg"
64-
postgres_source_host="ec2-3-215-57-87.compute-1.amazonaws.com"
65-
postgres_source_port="5432"
66-
postgres_source_version="13"
67-
postgres_config_shared_preload_libraries="pg_stat_statements"
68-
dle_debug="true"
51+
1. Edit `terraform.tfvars` file. In our example, we will use Heroku demo database as a source:
52+
```config
53+
dle_version_full = "2.4.0"
54+
55+
aws_ami_name = "DBLABserver*"
56+
aws_keypair = "YOUR_AWS_KEYPAIR"
57+
58+
aws_deploy_region = "us-east-1"
59+
aws_deploy_ebs_availability_zone="us-east-1a"
60+
aws_deploy_ec2_instance_type = "t2.large"
61+
aws_deploy_ec2_instance_tag_name = "DBLABserver-ec2instance"
62+
aws_deploy_ebs_size="40"
63+
aws_deploy_ebs_type="gp2"
64+
aws_deploy_allow_ssh_from_cidrs = ["0.0.0.0/0"]
65+
aws_deploy_dns_api_subdomain="tf-test" # subdomain in aws.postgres.ai, fqdn will be ${dns_api_subdomain}-engine.aws.postgres
66+
67+
source_postgres_version="13"
68+
source_postgres_host="ec2-3-215-57-87.compute-1.amazonaws.com"
69+
source_postgres_port="5432"
70+
source_postgres_dbname="d3dljqkrnopdvg"
71+
source_postgres_username="postgres"
72+
73+
dle_debug_mode="true"
6974
dle_retrieval_refresh_timetable="0 0 * * 0"
75+
postgres_config_shared_preload_libraries="pg_stat_statements"
76+
7077
platform_project_name="aws_test_tf"
71-
dns_api_subdomain="tf-test" #subdomain in aws.postgres.ai, fqdn will be ${dns_api_subdomain}-engine.aws.postgres.ai
7278
```
73-
1. Create `secret.tfvars` containing `postgres_source_password`, `platform_token`, and `github_vcs_secret_token`. An example:
74-
```shell
75-
postgres_source_username="postgres" # todo: move to regular tfvars
76-
postgres_source_password="password"
77-
platform_token="platform_token" # from https://console.postgres.ai/postgres-ai-team/tokens # todo your org
78-
github_vcs_secret_token="vcs_secret_token" # todo: how to get it?
79+
1. Create `secret.tfvars` containing `source_postgres_password`, `platform_access_token`, and `vcs_github_secret_token`. An example:
80+
```config
81+
source_postgres_password="YOUR_DB_PASSWORD" # todo: put pwd for heroku example DB here
82+
platform_access_token="YOUR_ACCESS_TOKEN" # to generate, open https://console.postgres.ai/, choose your organization,
83+
# then "Access tokens" in the left menu
84+
vcs_github_secret_token="vcs_secret_token" # to generate, open https://github.com/settings/tokens/new
7985
```
8086
1. Initialize
8187
```shell
@@ -91,13 +97,13 @@ The following steps were tested on Ubuntu 20.04 but supposed to be valid for oth
9197
terraform apply -var-file="secret.tfvars" -auto-approve
9298
```
9399
1. If everything goes well, you should get an output like this:
94-
```
95-
ci_observer_token = "gsio7KmgaxECfJ80kUx2tUeIf4kEXZex"
100+
```config
101+
vcs_db_migration_checker_verification_token = "gsio7KmgaxECfJ80kUx2tUeIf4kEXZex"
96102
dle_verification_token = "zXPodd13LyQaKgVXGmSCeB8TUtnGNnIa"
97103
ec2_public_dns = "ec2-18-118-126-25.us-east-2.compute.amazonaws.com"
98104
ec2instance = "i-0b07738148950af25"
99105
ip = "18.118.126.25"
100-
joe_signing_secret = "lG23qZbUh2kq0ULIBfW6TRwKzqGZu1aP"
106+
platform_joe_signing_secret = "lG23qZbUh2kq0ULIBfW6TRwKzqGZu1aP"
101107
public_dns_name = "demo-api-engine.aws.postgres.ai" # todo: this should be URL, not hostname – further we'll need URL, with protocol – `https://`
102108
```
103109

@@ -122,7 +128,7 @@ The following steps were tested on Ubuntu 20.04 but supposed to be valid for oth
122128
<img src="/uploads/8371e7f79de199aa017ff2df82b8f704/image.png" width="400" />
123129
1. Add Joe chatbot for efficient SQL optimization workflow:
124130
1. Go to the "SQL Optimization > Ask Joe" page using the left menu, click the "Add instance" button, specify the same project as you defined in the previous step
125-
1. `Signing secret` – use `joe_signing_secret` from the Terraform output
131+
1. `Signing secret` – use `platform_joe_signing_secret` from the Terraform output
126132
1. `URL` – use `public_dns_name` values from the Terraform output with port `444`; in our example, it's `https://demo-api-engine.aws.postgres.ai:444`
127133
1. Press "Verify URL" to check connectivity and then press "Add". You should see:
128134
<img src="/uploads/252e5f74cd324fc4df301bbf7c2bdd25/image.png" width="400" />

ami.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
data "aws_ami" "ami" {
22
most_recent = true
3-
owners = ["${var.ami_owner}"]
3+
owners = ["${var.aws_ami_owner}"]
44

55
filter {
66
name = "name"
7-
values = ["${var.dle_ami_name}"]
7+
values = ["${var.aws_ami_name}"]
88
}
99
filter {
1010
name = "root-device-type"

api_dns.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
data "aws_route53_zone" "dblab_zone" {
12-
name = var.dns_zone_name
12+
name = var.aws_deploy_dns_zone_name
1313
}
1414

1515
###
@@ -20,7 +20,7 @@ data "aws_route53_zone" "dblab_zone" {
2020
# resource should be close to correct.
2121
#
2222
#resource "aws_route53_record" "dblab_api_subdomain_caa" {
23-
# name = var.dns_zone_name
23+
# name = var.aws_deploy_dns_zone_name
2424
# type = "CAA"
2525
#
2626
# records = [
@@ -35,7 +35,7 @@ data "aws_route53_zone" "dblab_zone" {
3535
#}
3636

3737
resource "aws_route53_record" "dblab_api_subdomain" {
38-
name = var.dns_api_subdomain
38+
name = var.aws_deploy_dns_api_subdomain
3939
type = "CNAME"
4040

4141
records = [
@@ -47,7 +47,7 @@ resource "aws_route53_record" "dblab_api_subdomain" {
4747
}
4848

4949
resource "aws_acm_certificate" "dblab_api_subdomain_cert" {
50-
domain_name = "${var.dns_api_subdomain}.${var.dns_zone_name}"
50+
domain_name = "${var.aws_deploy_dns_api_subdomain}.${var.aws_deploy_dns_zone_name}"
5151
validation_method = "DNS"
5252

5353
lifecycle {

clones_dns.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_route53_record" "dblab_clones_subdomain" {
2-
name = "${var.dns_api_subdomain}-engine"
2+
name = "${var.aws_deploy_dns_api_subdomain}-engine"
33
type = "CNAME"
44

55
# TODO -- Allocate an Elastic IP address for the instance rather than using the

dle-logical-init.sh.tpl

+21-21
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,16 @@ done
7878
mkdir ~/.dblab
7979
#cp /home/ubuntu/.dblab/config.example.logical_generic.yml ~/.dblab/server.yml
8080
curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version_full}/configs/config.example.logical_generic.yml --output ~/.dblab/server.yml
81-
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug}/" ~/.dblab/server.yml
81+
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug_mode}/" ~/.dblab/server.yml
8282
sed -ri "s/^(\s*)(timetable:.*$)/\1timetable: \"${dle_retrieval_refresh_timetable}\"/" ~/.dblab/server.yml
8383
sed -ri "s/^(\s*)(forceInit:.*$)/\1forceInit: true/" ~/.dblab/server.yml
84-
sed -ri "s/^(\s*)(verificationToken:.*$)/\1verificationToken: ${dle_token}/" ~/.dblab/server.yml
85-
sed -ri "s/^(\s*)(dbname:.*$)/\1dbname: ${postgres_source_dbname}/" ~/.dblab/server.yml
86-
sed -ri "s/^(\s*)(host: 34.56.78.90$)/\1host: ${postgres_source_host}/" ~/.dblab/server.yml
87-
sed -ri "s/^(\s*)(port: 5432$)/\1port: ${postgres_source_port}/" ~/.dblab/server.yml
88-
sed -ri "s/^(\s*)( username: postgres$)/\1 username: ${postgres_source_username}/" ~/.dblab/server.yml
89-
sed -ri "s/^(\s*)(password:.*$)/\1password: ${postgres_source_password}/" ~/.dblab/server.yml
90-
sed -ri "s/:13/:${postgres_source_version}/g" ~/.dblab/server.yml
84+
sed -ri "s/^(\s*)(verificationToken:.*$)/\1verificationToken: ${dle_verification_token}/" ~/.dblab/server.yml
85+
sed -ri "s/^(\s*)(dbname:.*$)/\1dbname: ${source_postgres_dbname}/" ~/.dblab/server.yml
86+
sed -ri "s/^(\s*)(host: 34.56.78.90$)/\1host: ${source_postgres_host}/" ~/.dblab/server.yml
87+
sed -ri "s/^(\s*)(port: 5432$)/\1port: ${source_postgres_port}/" ~/.dblab/server.yml
88+
sed -ri "s/^(\s*)( username: postgres$)/\1 username: ${source_postgres_username}/" ~/.dblab/server.yml
89+
sed -ri "s/^(\s*)(password:.*$)/\1password: ${source_postgres_password}/" ~/.dblab/server.yml
90+
sed -ri "s/:13/:${source_postgres_version}/g" ~/.dblab/server.yml
9191
#restore pg_dump via pipe - without saving it on the disk
9292
sed -ri "s/^(\s*)(parallelJobs:.*$)/\1parallelJobs: 1/" ~/.dblab/server.yml
9393
sed -ri "s/^(\s*)(# immediateRestore:.*$)/\1immediateRestore: /" ~/.dblab/server.yml
@@ -99,7 +99,7 @@ sed -ri "s/^(\s*)(- logicalRestore.*$)/\1#- logicalRestore /" ~/.dblab/server.ym
9999
# Enable Platform
100100
sed -ri "s/^(\s*)(#platform:$)/\1platform: /" ~/.dblab/server.yml
101101
sed -ri "s/^(\s*)(# url: \"https\\:\\/\\/postgres.ai\\/api\\/general\"$)/\1 url: \"https\\:\\/\\/postgres.ai\\/api\\/general\" /" ~/.dblab/server.yml
102-
sed -ri "s/^(\s*)(# accessToken: \"platform_access_token\"$)/\1 accessToken: \"${platform_token}\"/" ~/.dblab/server.yml
102+
sed -ri "s/^(\s*)(# accessToken: \"platform_access_token\"$)/\1 accessToken: \"${platform_access_token}\"/" ~/.dblab/server.yml
103103
sed -ri "s/^(\s*)(# enablePersonalTokens: true$)/\1 enablePersonalTokens: true/" ~/.dblab/server.yml
104104

105105

@@ -126,17 +126,17 @@ done
126126
dblab init \
127127
--environment-id=tutorial \
128128
--url=http://localhost:2345 \
129-
--token=${dle_token} \
129+
--token=${dle_verification_token} \
130130
--insecure
131131

132132
#configure and run Joe Bot container
133133
cp /home/ubuntu/joe.yml ~/.dblab/joe.yml
134-
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug}/" ~/.dblab/joe.yml
135-
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${platform_token}/" ~/.dblab/joe.yml
136-
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${dle_token}/" ~/.dblab/joe.yml
137-
sed -ri "s/^(\s*)( url:.*$)/\1 url: \"http\\:\\/\\/${dns_api_subdomain}-engine.aws.postgres.ai\\:2345\"/" ~/.dblab/joe.yml
138-
sed -ri "s/^(\s*)(dbname:.*$)/\1dbname: ${postgres_source_dbname}/" ~/.dblab/joe.yml
139-
sed -ri "s/^(\s*)(signingSecret:.*$)/\1signingSecret: ${joe_signing_secret}/" ~/.dblab/joe.yml
134+
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug_mode}/" ~/.dblab/joe.yml
135+
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${platform_access_token}/" ~/.dblab/joe.yml
136+
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${dle_verification_token}/" ~/.dblab/joe.yml
137+
sed -ri "s/^(\s*)( url:.*$)/\1 url: \"http\\:\\/\\/${aws_deploy_dns_api_subdomain}-engine.aws.postgres.ai\\:2345\"/" ~/.dblab/joe.yml
138+
sed -ri "s/^(\s*)(dbname:.*$)/\1dbname: ${source_postgres_dbname}/" ~/.dblab/joe.yml
139+
sed -ri "s/^(\s*)(signingSecret:.*$)/\1signingSecret: ${platform_joe_signing_secret}/" ~/.dblab/joe.yml
140140
sed -ri "s/^(\s*)(project:.*$)/\1project: ${platform_project_name}/" ~/.dblab/joe.yml
141141

142142
sudo docker run \
@@ -149,12 +149,12 @@ postgresai/joe:latest
149149

150150
#configure and run DB Migration Checker
151151
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/configs/config.example.run_ci.yaml --output ~/.dblab/run_ci.yaml
152-
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug}/" ~/.dblab/run_ci.yaml
153-
sed -ri "s/^(\s*)( verificationToken: \"secret_token\".*$)/\1 verificationToken: ${ci_observer_token}/" ~/.dblab/run_ci.yaml
152+
sed -ri "s/^(\s*)(debug:.*$)/\1debug: ${dle_debug_mode}/" ~/.dblab/run_ci.yaml
153+
sed -ri "s/^(\s*)( verificationToken: \"secret_token\".*$)/\1 verificationToken: ${vcs_db_migration_checker_verification_token}/" ~/.dblab/run_ci.yaml
154154
sed -ri "s/^(\s*)( url: \"https\\:\\/\\/dblab.domain.com\"$)/\1 url: \"http\\:\\/\\/dblab_server\\:2345\"/" ~/.dblab/run_ci.yaml
155-
sed -ri "s/^(\s*)( verificationToken: \"checker_secret_token\".*$)/\1 verificationToken: ${dle_token}/" ~/.dblab/run_ci.yaml
156-
sed -ri "s/^(\s*)( accessToken:.*$)/\1 accessToken: ${platform_token}/" ~/.dblab/run_ci.yaml
157-
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${github_vcs_secret_token}/" ~/.dblab/run_ci.yaml
155+
sed -ri "s/^(\s*)( verificationToken: \"checker_secret_token\".*$)/\1 verificationToken: ${dle_verification_token}/" ~/.dblab/run_ci.yaml
156+
sed -ri "s/^(\s*)( accessToken:.*$)/\1 accessToken: ${platform_access_token}/" ~/.dblab/run_ci.yaml
157+
sed -ri "s/^(\s*)( token:.*$)/\1 token: ${vcs_github_secret_token}/" ~/.dblab/run_ci.yaml
158158

159159
sudo docker run --name dblab_ci_checker -it --detach \
160160
--publish 2500:2500 \

instance.tf

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
resource "random_string" "dle_token" {
1+
resource "random_string" "dle_verification_token" {
22
length = 32
33
upper = true
44
lower = true
55
number = true
66
special = false
77
}
88

9-
resource "random_string" "joe_signing_secret" {
9+
resource "random_string" "platform_joe_signing_secret" {
1010
length = 32
1111
upper = true
1212
lower = true
1313
number = true
1414
special = false
1515
}
1616

17-
resource "random_string" "ci_observer_token" {
17+
resource "random_string" "vcs_db_migration_checker_verification_token" {
1818
length = 32
1919
upper = true
2020
lower = true
@@ -25,33 +25,33 @@ resource "random_string" "ci_observer_token" {
2525
data "template_file" "init" {
2626
template = "${file("dle-logical-init.sh.tpl")}"
2727
vars = {
28-
dle_token = "${random_string.dle_token.result}"
29-
dle_debug = "${var.dle_debug}"
28+
dle_verification_token = "${random_string.dle_verification_token.result}"
29+
dle_debug_mode = "${var.dle_debug_mode}"
3030
dle_retrieval_refresh_timetable = "${var.dle_retrieval_refresh_timetable}"
31-
dle_disks = "${join(" ",var.ec2_ebs_names)}"
31+
dle_disks = "${join(" ",var.aws_deploy_ec2_volumes_names)}"
3232
dle_version_full = "${var.dle_version_full}"
33-
dns_api_subdomain = "${var.dns_api_subdomain}"
34-
postgres_source_dbname = "${var.postgres_source_dbname}"
35-
postgres_source_host = "${var.postgres_source_host}"
36-
postgres_source_port = "${var.postgres_source_port}"
37-
postgres_source_username = "${var.postgres_source_username}"
38-
postgres_source_password = "${var.postgres_source_password}"
39-
postgres_source_version = "${var.postgres_source_version}"
33+
aws_deploy_dns_api_subdomain = "${var.aws_deploy_dns_api_subdomain}"
34+
source_postgres_dbname = "${var.source_postgres_dbname}"
35+
source_postgres_host = "${var.source_postgres_host}"
36+
source_postgres_port = "${var.source_postgres_port}"
37+
source_postgres_username = "${var.source_postgres_username}"
38+
source_postgres_password = "${var.source_postgres_password}"
39+
source_postgres_version = "${var.source_postgres_version}"
4040
postgres_config_shared_preload_libraries = "${var.postgres_config_shared_preload_libraries}"
41-
platform_token = "${var.platform_token}"
41+
platform_access_token = "${var.platform_access_token}"
4242
platform_project_name = "${var.platform_project_name}"
43-
joe_signing_secret = "${random_string.joe_signing_secret.result}"
44-
ci_observer_token = "${random_string.ci_observer_token.result}"
45-
github_vcs_secret_token = "${var.github_vcs_secret_token}"
43+
platform_joe_signing_secret = "${random_string.platform_joe_signing_secret.result}"
44+
vcs_db_migration_checker_verification_token = "${random_string.vcs_db_migration_checker_verification_token.result}"
45+
vcs_github_secret_token = "${var.vcs_github_secret_token}"
4646
}
4747
}
4848

4949
resource "aws_instance" "aws_ec2" {
5050
ami = "${data.aws_ami.ami.id}"
51-
availability_zone = "${var.availability_zone}"
52-
instance_type = "${var.instance_type}"
51+
availability_zone = "${var.aws_deploy_ebs_availability_zone}"
52+
instance_type = "${var.aws_deploy_ec2_instance_type}"
5353
security_groups = ["${aws_security_group.dle_instance_sg.name}"]
54-
key_name = "${var.keypair}"
54+
key_name = "${var.aws_keypair}"
5555
tags = "${local.common_tags}"
5656
user_data = "${data.template_file.init.rendered}"
5757
}

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ terraform {
99

1010
# Configure the AWS Provider
1111
provider "aws" {
12-
region = "${var.aws_region}"
12+
region = "${var.aws_deploy_region}"
1313
}
1414

1515
locals {
1616
common_tags = {
17-
Name = "${var.tag_name}"
17+
Name = "${var.aws_deploy_ec2_instance_tag_name}"
1818
}
1919
}

outputs.tf

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
output "ip" {
1+
output "aws_ec2_instance_ip" {
22
value = "${aws_instance.aws_ec2.public_ip}"
33
}
4-
output "ec2instance" {
4+
output "aws_ec2_instance_id" {
55
value = "${aws_instance.aws_ec2.id}"
66
}
7-
output "ec2_public_dns" {
7+
output "aws_ec2_instance_dns" {
88
value = "${aws_instance.aws_ec2.public_dns}"
99
}
10-
output "dle_url_for_registration" {
10+
output "platform_dle_registration_url" {
1111
value = "${format("%s://%s", "https",join("", aws_route53_record.dblab_clones_subdomain.*.fqdn))}"
1212
}
13-
output "joe_url_for_registration" {
13+
output "platform_joe_registration_url" {
1414
value = "${format("%s://%s:%s", "https",join("", aws_route53_record.dblab_clones_subdomain.*.fqdn),"444")}"
1515
}
1616
output "dle_verification_token" {
17-
value = "${random_string.dle_token.result}"
17+
value = "${random_string.dle_verification_token.result}"
1818
}
19-
output "joe_signing_secret" {
20-
value = "${random_string.joe_signing_secret.result}"
19+
output "platform_joe_signing_secret" {
20+
value = "${random_string.platform_joe_signing_secret.result}"
2121
}
22-
output "ci_observer_token" {
23-
value = "${random_string.ci_observer_token.result}"
22+
output "vcs_db_migration_checker_verification_token" {
23+
value = "${random_string.vcs_db_migration_checker_verification_token.result}"
2424
}
25-
output "ci_observer_url_for_registration" {
25+
output "vcs_db_migration_checker_registration_url" {
2626
value = "${format("%s://%s:%s", "https",join("", aws_route53_record.dblab_clones_subdomain.*.fqdn),"445")}"
2727
}

0 commit comments

Comments
 (0)