Skip to content
Snippets Groups Projects
Commit 94dfc7a0 authored by Ing. Klára Moravcová's avatar Ing. Klára Moravcová
Browse files

Change master nodes to control nodes.

parent 14262421
No related branches found
No related tags found
1 merge request!1Inventory modify
......@@ -3,7 +3,7 @@ resource "local_file" "k8s_file" {
{
bastion_ssh_user_name = var.bastion_ssh_user_name
k8s_bastion_ip = openstack_networking_floatingip_v2.bastion_fip.address
k8s_master_ip = openstack_compute_instance_v2.master_nodes.*.access_ip_v4
k8s_control_ip = openstack_compute_instance_v2.control_nodes.*.access_ip_v4
k8s_worker_ip = openstack_compute_instance_v2.worker_nodes.*.access_ip_v4
}
......
......@@ -2,8 +2,8 @@ output "bastion_external_ip" {
value = openstack_networking_floatingip_v2.bastion_fip.address
}
output "master_instance_ip" {
value = openstack_compute_instance_v2.master_nodes[*].access_ip_v4
output "control_instance_ip" {
value = openstack_compute_instance_v2.control_nodes[*].access_ip_v4
}
output "worker_instance_ip" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment