Code to deploy an MZR VPC, ALB, and 2 VMs to collect metrics from the ALB and look at how pool health is tracked.
Name | Source | Version |
---|---|---|
observability | git::https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances | main |
resource_group | git::https://github.com/terraform-ibm-modules/terraform-ibm-resource-group.git | v1.0.5 |
security_group | terraform-ibm-modules/vpc/ibm//modules/security-group | 1.1.1 |
vpc | terraform-ibm-modules/vpc/ibm//modules/vpc | 1.1.1 |
Name | Type |
---|---|
ibm_is_floating_ip.bastion | resource |
ibm_is_instance.bastion | resource |
ibm_is_instance.pool1 | resource |
ibm_is_instance.pool2 | resource |
ibm_is_lb.alb | resource |
ibm_is_lb_listener.frontend | resource |
ibm_is_lb_pool.pool1 | resource |
ibm_is_lb_pool.pool2 | resource |
ibm_is_lb_pool_member.pool1 | resource |
ibm_is_lb_pool_member.pool2 | resource |
ibm_is_ssh_key.generated_key | resource |
local_file.ansible-inventory | resource |
null_resource.create_private_key | resource |
random_string.prefix | resource |
tls_private_key.ssh | resource |
ibm_is_image.base | data source |
ibm_is_ssh_key.sshkey | data source |
ibm_is_zones.regional | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allow_ip_spoofing | Allow IP spoofing on the bastion instance primary interface. | bool |
false |
no |
classic_access | Allow classic access to the VPC. | bool |
false |
no |
default_address_prefix | The address prefix to use for the VPC. Default is set to auto. | string |
"auto" |
no |
existing_resource_group | The name of an existing resource group to use. If not specified, a new resource group will be created. | string |
"" |
no |
existing_ssh_key | The name of an existing SSH key to use for the VM | string |
"" |
no |
frontend_rules | A list of security group rules to be added to the Frontend security group | list( |
[ |
no |
image_name | The name of an existing OS image to use. You can list available images with the command 'ibmcloud is images'. | string |
"ibm-ubuntu-22-04-1-minimal-amd64-3" |
no |
instance_profile | The name of an existing instance profile to use. You can list available instance profiles with the command 'ibmcloud is instance-profiles'. | string |
"cx2-2x4" |
no |
metadata_service_enabled | Enable the metadata service on the bastion instance. | bool |
true |
no |
owner | The owner of the resources. Will be added as tags to all resources. | string |
n/a | yes |
pool_instance_count | The number of instances to create in each pool. Default is 1 for testing. | number |
2 |
no |
project_prefix | The prefix to use for all resources | string |
"" |
no |
region | The region to deploy the resources to | string |
"" |
no |
Name | Description |
---|---|
bastion_ip | Public IP of the Bastion instance. |
instance_ips | Private IP of load balancer pool instances |
lb_fqdn | FQDN for the VPC ABL instance |