github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/aws/r/opsworks_ganglia_layer.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_opsworks_ganglia_layer"
     4  sidebar_current: "docs-aws-resource-opsworks-ganglia-layer"
     5  description: |-
     6    Provides an OpsWorks Ganglia layer resource.
     7  ---
     8  
     9  # aws\_opsworks\_ganglia\_layer
    10  
    11  Provides an OpsWorks Ganglia layer resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_opsworks_ganglia_layer" "monitor" {
    17      stack_id = "${aws_opsworks_stack.main.id}"
    18      password = "foobarbaz"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `stack_id` - (Required) The id of the stack the layer will belong to.
    27  * `password` - (Required) The password to use for Ganglia.
    28  * `name` - (Optional) A human-readable name for the layer.
    29  * `auto_assign_elastic_ips` - (Optional) Whether to automatically assign an elastic IP address to the layer's instances.
    30  * `auto_assign_public_ips` - (Optional) For stacks belonging to a VPC, whether to automatically assign a public IP address to each of the layer's instances.
    31  * `custom_instance_profile_arn` - (Optional) The ARN of an IAM profile that will be used for the layer's instances.
    32  * `custom_security_group_ids` - (Optional) Ids for a set of security groups to apply to the layer's instances.
    33  * `auto_healing` - (Optional) Whether to enable auto-healing for the layer.
    34  * `install_updates_on_boot` - (Optional) Whether to install OS and package updates on each instance when it boots.
    35  * `instance_shutdown_timeout` - (Optional) The time, in seconds, that OpsWorks will wait for Chef to complete after triggering the Shutdown event.
    36  * `drain_elb_on_shutdown` - (Optional) Whether to enable Elastic Load Balancing connection draining.
    37  * `system_packages` - (Optional) Names of a set of system packages to install on the layer's instances.
    38  * `url` - (Optional) The URL path to use for Ganglia. Defaults to "/ganglia".
    39  * `username` - (Optiona) The username to use for Ganglia. Defaults to "opsworks".
    40  * `use_ebs_optimized_instances` - (Optional) Whether to use EBS-optimized instances.
    41  * `ebs_volume` - (Optional) `ebs_volume` blocks, as described below, will each create an EBS volume and connect it to the layer's instances.
    42  
    43  The following extra optional arguments, all lists of Chef recipe names, allow
    44  custom Chef recipes to be applied to layer instances at the five different
    45  lifecycle events, if custom cookbooks are enabled on the layer's stack:
    46  
    47  * `custom_configure_recipes`
    48  * `custom_deploy_recipes`
    49  * `custom_setup_recipes`
    50  * `custom_shutdown_recipes`
    51  * `custom_undeploy_recipes`
    52  
    53  An `ebs_volume` block supports the following arguments:
    54  
    55  * `mount_point` - (Required) The path to mount the EBS volume on the layer's instances.
    56  * `size` - (Required) The size of the volume in gigabytes.
    57  * `number_of_disks` - (Required) The number of disks to use for the EBS volume.
    58  * `raid_level` - (Required) The RAID level to use for the volume.
    59  * `type` - (Optional) The type of volume to create. This may be `standard` (the default), `io1` or `gp2`.
    60  * `iops` - (Optional) For PIOPS volumes, the IOPS per disk.
    61  
    62  ## Attributes Reference
    63  
    64  The following attributes are exported:
    65  
    66  * `id` - The id of the layer.