5c5bf41afe
* terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * Updates to README.md and main.tf files * formatting and updating readme * added a .terraform_validate CI job * fixed format issue * added sample inventory * added symbolic link to group_vars * added missing tf variables and minor fixes * added text formatting * minor formatting fixes
14 lines
300 B
HCL
14 lines
300 B
HCL
|
|
output "master_ip" {
|
|
value = {
|
|
for instance in upcloud_server.master :
|
|
instance.hostname => instance.network_interface[0].ip_address
|
|
}
|
|
}
|
|
|
|
output "worker_ip" {
|
|
value = {
|
|
for instance in upcloud_server.worker :
|
|
instance.hostname => instance.network_interface[0].ip_address
|
|
}
|
|
}
|