Creates virtual server instances (VSI) across multiple subnets with any number of block storage volumes that are connected by any number of load balancers
Apache License 2.0
4
stars
9
forks
source link
We need the flexibility with landing-zone-vsi module to provision an instance in a dedicated host that belongs to the provided dedicated host group #747
As you know if the value is not supported we see the below issue:
Error: Unsupported argument
│
│ on ../../modules/landing_zone_vsi/main.tf line 79, in module "management_vsi":
│ 79: dedicated_host = var.boot_volume_encryption_key
│
│ An argument named "dedicated_host" is not expected here.
╵
Create VSIs on dedicated host or dedicated host group
VSI module is updated to take optionally dedicated host id / dedicated host group id
Creating/managing dedicated host
New module to create dedicated host, create/manage dedicated host groups + all surrounding (storage management - ibm_is_dedicated_host_disk_management)
The landing zone DA acts a the "glue" between those functions - take additional input parameters:
use_existing_dedicated_host / use_existing_dedicated_host_group + dedicated_host_id -> VSI would be created on that dedicate host / group
create_dedicated_host -> landing zone DA call the dedicate host module to create the dedicate host + then pass the created dedicated host id to the vsi module for the vsis.
Description
If I create the dedicated host by our code, I need to pass the value of dedicated host for the VSI's to join.. I see that the landing zone VSI will not support the attribute to join to the dedicated host -> https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi/blob/main/main.tf
We need the flexibility with landing-zone-vsi module to provision an instance in a dedicated host that belongs to the provided dedicated host group
Like : https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_instance
As you know if the value is not supported we see the below issue: