| page_title | morpheus_instance_layout Resource - terraform-provider-morpheus |
|---|---|
| subcategory | |
| description | Provides a Morpheus instance layout resource |
Provides a Morpheus instance layout resource
resource "morpheus_instance_layout" "tf_example_instance_layout" {
instance_type_id = morpheus_instance_type.tf_example_instance_type.id
name = "todo_app_frontend"
labels = ["demo", "layout", "terraform"]
version = "1.0"
technology = "vmware"
node_type_ids = [
morpheus_node_type.ubuntu_base.id
]
workflow_id = morpheus_provisioning_workflow.tfexample_workflow.id
}instance_type_id(Number) The ID of the associated instance typename(String) The name of the instance layouttechnology(String) The technology of the instance layout (alibaba, amazon, arm, azure, maas, cloudFormation, docker, esxi, fusion, google, huawei, hyperv, kubernetes, kvm, nutanix, opentelekom, openstack, oraclecloud, oraclevm, scvmm, terraform, upcloud, vcd.vapp, vcd, vmware, workflow, xen)version(String) The version of the instance layout
creatable(Boolean) Whether the instance layout can be used to create an instancedescription(String) The instance layout categoryevar(Block List) The environment variables to create (see below for nested schema)labels(Set of String) The organization labels associated with the script template (Only supported on Morpheus 5.5.3 or higher)minimum_memory(Number) The memory requirement in megabytesnode_type_ids(List of Number) A list of node type ids associated with the instance layoutoption_type_ids(List of Number) A list of option type ids associated with the instance layoutspec_template_ids(List of Number) A list of spec template ids associated with the instance layoutsupport_convert_to_managed(Boolean) Whether the instance layout supports deployed instances to be converted to managedworkflow_id(Number) The id of the provisioning workflow associated with the instance layout
id(String) The ID of the instance layout
Optional:
export(Boolean) Whether the environment variable is exported as an instance tagmasked_value(String, Sensitive) The environment variable value when the value needs to be maskedname(String) The name of the environment variablevalue(String) The environment variable value when the value can be in plaintext
Import is supported using the following syntax:
terraform import morpheus_instance_layout.tf_example_instance_layout 1