github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/builtin/providers/aws/resource_aws_opsworks_custom_layer.go (about)

     1  package aws
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/helper/schema"
     5  )
     6  
     7  func resourceAwsOpsworksCustomLayer() *schema.Resource {
     8  	layerType := &opsworksLayerType{
     9  		TypeName:        "custom",
    10  		CustomShortName: true,
    11  
    12  		// The "custom" layer type has no additional attributes
    13  		Attributes: map[string]*opsworksLayerTypeAttribute{},
    14  	}
    15  
    16  	return layerType.SchemaResource()
    17  }