FEATURES PRICING ABOUT DOCS LOGIN

aws_opsworks_custom_layer

Provides an OpsWorks custom layer resource.

Example Usage

resource "aws_opsworks_custom_layer" "custlayer" {
    name = "My Awesome Custom Layer"
    short_name = "awesome"
    stack_id = "${aws_opsworks_stack.main.id}"
}

Argument Reference

The following arguments are supported:

The following extra optional arguments, all lists of Chef recipe names, allow custom Chef recipes to be applied to layer instances at the five different lifecycle events, if custom cookbooks are enabled on the layer’s stack:

An ebs_volume block supports the following arguments:

Attributes Reference

The following attributes are exported:

Import

OpsWorks Custom Layers can be imported using the id, e.g.

$ terraform import aws_opsworks_custom_layer.bar 00000000-0000-0000-0000-000000000000

See the source of this document at Terraform.io

REQUEST A DEMO