In the infrasecrets project, you have to update some Terraform configuration files.
In the directory infrasecrets/terraform/demo, there is only 1 file: infrasecrets/terraform/demo/vars_network.tf.
You HAVE to copy/paste the echo/terraform/demo/vars_network.tf file from the echo project into the directory infrasecrets/terraform/demo.
The files must be exactly the same.
And you have to update some Ansible configuration files.
In the infrasecrets/inventories/demo/group_vars/all/project.yml file, you have to edit the following variables:
- __project_git_repo: the address of your git repository
- __project_ssh_pubkey: you own SSH public key (it will be used to connect to the bastion host)
- __project_ansible_deployment_playbooks: the addresses and branches of the repositories you want to be installed in the system (so they can be used later, for example in crontab jobs)
- __project_bastion_ansible_deployment_playbooks: the addresses and branches of the repositories you want to be installed in the bastion’s user home directory (so you can use them to deploy think)
3. Next page!
We are done, let’s push everything to your git!