Skip to content

Latest commit

 

History

History
77 lines (59 loc) · 5.43 KB

File metadata and controls

77 lines (59 loc) · 5.43 KB

DAOS Client module

This module creates DAOS client instances.

Usage

Copyright 2023 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 1.2
google ~> 4.84.0
google-beta ~> 4.84.0

Providers

Name Version
google ~> 4.84.0
google-beta ~> 4.84.0

Modules

No modules.

Resources

Name Type
google-beta_google_compute_instance.named_instances resource
google_compute_disk.boot_disk resource
google_compute_image.os_image data source

Inputs

Name Description Type Default Required
certs_install_content DAOS certificate installation code to be included in the client startup script string n/a yes
daos_agent_yml YAML to configure the daos agent. string n/a yes
daos_control_yml YAML configuring DAOS control. string n/a yes
gvnic Use Google Virtual NIC (gVNIC) network interface bool false no
instance_base_name Base name for DAOS client instances string "daos-client" no
labels Set of key/value label pairs to assign to daos-client instances any {} no
machine_type GCP machine type. ie. c2-standard-16 string "c2-standard-16" no
network_name Name of the GCP network to use string "default" no
number_of_instances Number of daos clients to bring up number 4 no
os_disk_size_gb OS disk size in GB number 20 no
os_disk_type OS disk type ie. pd-ssd, pd-standard string "pd-ssd" no
os_family OS GCP image family string "daos-client-hpc-rocky-8" no
os_project OS GCP image project name. Defaults to project_id if null. string null no
preemptible If preemptible instances string false no
project_id The GCP project to use string n/a yes
service_account Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template.html#service_account.
object({
email = string,
scopes = set(string)
})
{
"email": null,
"scopes": [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/trace.append",
"https://www.googleapis.com/auth/cloud-platform"
]
}
no
subnetwork_name Name of the GCP sub-network to use string "default" no
subnetwork_project The GCP project where the subnetwork is defined string null no
tags List of network tags to attach to DAOS client instances list(any)
[
"daos-client"
]
no
zone The GCP zone to create and test resources in string n/a yes

Outputs

No outputs.