...
- In addition to
infra.tfvars.json
, you must provide some secrets on each deploy:mongo_atlas_private_key
,mongo_password
, &psql_password
- Run
./bin/terraform apply -target=module.gcp_cluster_hosting.google_compute_network.network
- Run
./bin/terraform apply -target=module.gcp_cluster_hosting.google_compute_global_address.private_ip_address
- Run
./bin/terraform apply -target=module.gcp_cluster_hosting.google_service_networking_connection.vpc_connection
- Run
./bin/terraform apply -target=module.aws_required.module.vpc
- Run
./bin/terraform plan
- Run
./bin/terraform apply
Note |
---|
If this fails with an |
- Run
./bin/edit_credentials
. This will create two new files:credentials.yml.enc
andmaster.key
. - Copy all important secrets into this file
Note |
---|
The If you want to store these encrypted credentials within your repository, you may need to update the |
Warning |
---|
The This key should be backed up and manually created on any devices that needs access to the |
...