Fixed affinity for server group

This commit is contained in:
Luca Frosini 2023-12-07 14:53:43 +01:00
parent d7d8abf0c4
commit 0ef3eab7a3
1 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ module "common_variables" {
#
resource "openstack_compute_servergroup_v2" "accounting_dashboard_harvester_server_group" {
name = "accounting-dashboard-harvester-se-plugin"
policies = [module.common_variables.policy_list.soft_anti_affinity]
policies = [module.common_variables.policy_list.anti_affinity]
}
#
@ -38,7 +38,7 @@ resource "openstack_compute_servergroup_v2" "accounting_dashboard_harvester_serv
#
resource "openstack_compute_servergroup_v2" "accounting_aggregator_server_group" {
name = "accounting-aggregator-se-plugin"
policies = [module.common_variables.policy_list.soft_anti_affinity]
policies = [module.common_variables.policy_list.anti_affinity]
}
#
@ -46,7 +46,7 @@ resource "openstack_compute_servergroup_v2" "accounting_aggregator_server_group"
#
resource "openstack_compute_servergroup_v2" "resource_checker_server_group" {
name = "resource-checker-se-plugin"
policies = [module.common_variables.policy_list.soft_anti_affinity]
policies = [module.common_variables.policy_list.anti_affinity]
}
#
@ -54,7 +54,7 @@ resource "openstack_compute_servergroup_v2" "resource_checker_server_group" {
#
resource "openstack_compute_servergroup_v2" "social_data_indexer_server_group" {
name = "social-data-indexer-se-plugin"
policies = [module.common_variables.policy_list.soft_anti_affinity]
policies = [module.common_variables.policy_list.anti_affinity]
}
#
@ -62,7 +62,7 @@ resource "openstack_compute_servergroup_v2" "social_data_indexer_server_group" {
#
resource "openstack_compute_servergroup_v2" "accounting_insert_storage_server_group" {
name = "accounting-insert-storage-se-plugin"
policies = [module.common_variables.policy_list.soft_anti_affinity]
policies = [module.common_variables.policy_list.anti_affinity]
}