metal-hosts-with-logz
HPE/metal-hosts-with-logz/hpegl
Example of creating a Metal host with Logz logging This is an example of creating a Metal host that has external logging with Logz configured To run the example: Export relevant Authentication details as environment variables Update variables.tf, provide a terraform.tfvars file, or provide overrides on the command line * Run with a command similar to `` terraform apply \ -var ="location=USA:Texas:AUSL2" ` Example output ` hosts_ips = { host-0 = 192.168.0.1 } logz_host_ips = { logging-proxy = "logz-proxy-host" logging-proxy-ips = 192.168.0.25 } ` Argument Reference The following arguments are supported: - location - Where the host is to be created in country:region:data-center style. - project_id - GreenLake metal project id - rest_url - GreenLake metal service url - prefix - A prefix to be
| Name | Type | Description | Default |
|---|---|---|---|
| prefix | string | A prefix to be added to created resources | required |
| machine_size | string | The machine size for the hosts | required |
| public_key_name | string | The name of the ssh public key | required |
| public_key | string | The content of the ssh public key | required |
| location | string | GreenLake metal service location | required |
| project_id | string | GreenLake metal project id | required |
| host_count | number | Number of hosts to create. Not including logging proxy if logging is enabled | required |
| linux_image_flavor | string | The linux image flavor for the hosts | "ubuntu" |
| logzio_service_port | number | logzio service port | null |
| enable_logging | bool | Deploy and configure logging infrastructure for Logzio | true |
| logzio_service_url | string | logzio service sub-account url | null |
| logging_network_pool_base_ip | string | The network part of the main IP pool of the logging network. ex. 10.0.0.0 | null |
| logging_proxy_public_key | string | The content of the ssh public key for the logging proxy | null |
| logzio_ship_token | string | Logzio shipping token | null |
| logging_network_pool_cidr | string | The netmask part of the main IP pool of the logging network in CIDR notation. ex | null |
| linux_image_version | string | The linux image version for the hosts | "18.04" |
| logging_proxy_public_key_name | string | The name of the ssh public key for the logging proxy | null |
| rest_url | string | GreenLake metal service url | "https://quake.intg.hpedevops.net:443" |
| logging_proxy_machine_size | string | The machine size for the hosts | null |
| logging_network_pool_ip_version | string | The IP version of the logging network pool. One of IPv4 or IPv6 | null |
logz_host_ipshosts_ips