Skip to content
Snippets Groups Projects
Commit 0274faab authored by František Řezníček's avatar František Řezníček
Browse files

refactor unify project openrc file

parent d492f3d6
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ Cloud-init add following:
## Create Infrastructure
1. Clone the repository.
1. Load you OpenStack application credentials to environment variables `source ~/conf/prod-egi-freznicek-vo.enes.org-all-roles-openrc.sh.inc`
1. Load you OpenStack application credentials to environment variables `source project_openrc.sh.inc`
1. Override any infrastructure variables in [main.tf](main.tf) file if needed. Full set of variables can be found in [modules/2tiers_public_bastion_private_vm_farm/variables.tf](modules/2tiers_public_bastion_private_vm_farm/variables.tf) or [modules/1tier-public-vm-farm/variables.tf](modules/1tier-public-vm-farm/variables.tf).
1. In the [terraform root directory](/clouds/g1/brno/vo.enes.org/terraform) run following commands to initiate and validate environment
* `terraform init`
......
......@@ -18,7 +18,7 @@ OpenSSH_8.8p1, OpenSSL 3.0.8 7 Feb 2023
# B. Prepare infrastructure (main.tf)
# log into vo.enes.org OpenStack project
[freznicek@lenovo-t14 terraform 0]$ source ~/conf/prod-egi-freznicek-vo.enes.org-all-roles-openrc.sh.inc
[freznicek@lenovo-t14 terraform 0]$ source ~/conf/prod-egi-freznicek-vo.enes.org-all-roles-openrc.sh.inc # project_openrc.sh.inc
[freznicek@lenovo-t14 terraform 0]$ cat main.tf
terraform {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment