github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/elastic_beanstalk_configuration_template.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_elastic_beanstalk_configuration_template"
     4  sidebar_current: "docs-aws-resource-elastic-beanstalk-configuration-template"
     5  description: |-
     6    Provides an Elastic Beanstalk Configuration Template
     7  ---
     8  
     9  # aws\_elastic\_beanstalk\_<wbr>configuration\_template
    10  
    11  Provides an Elastic Beanstalk Configuration Template, which are associated with
    12  a specific application and are used to deploy different versions of the
    13  application with the same configuration settings.
    14  
    15  ## Example Usage
    16  
    17  ```hcl
    18  resource "aws_elastic_beanstalk_application" "tftest" {
    19    name        = "tf-test-name"
    20    description = "tf-test-desc"
    21  }
    22  
    23  resource "aws_elastic_beanstalk_configuration_template" "tf_template" {
    24    name                = "tf-test-template-config"
    25    application         = "${aws_elastic_beanstalk_application.tftest.name}"
    26    solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4"
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `name` - (Required) A unique name for this Template.
    35  * `application` – (Required) name of the application to associate with this configuration template
    36  * `description` - (Optional) Short description of the Template
    37  * `environment_id` – (Optional) The ID of the environment used with this configuration template
    38  * `setting` – (Optional) Option settings to configure the new Environment. These
    39    override specific values that are set as defaults. The format is detailed
    40    below in [Option Settings](#option-settings)
    41  * `solution_stack_name` – (Optional) A solution stack to base your Template
    42  off of. Example stacks can be found in the [Amazon API documentation][1]
    43  
    44  
    45  ## Option Settings
    46  
    47  The `setting` field supports the following format:
    48  
    49  * `namespace` - unique namespace identifying the option's associated AWS resource
    50  * `name` - name of the configuration option
    51  * `value` - value for the configuration option
    52  * `resource` - (Optional) resource name for [scheduled action](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
    53  
    54  ## Attributes Reference
    55  
    56  The following attributes are exported:
    57  
    58  * `name`
    59  * `application`
    60  * `description`
    61  * `environment_id`
    62  * `option_settings`
    63  * `solution_stack_name`
    64  
    65  [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html
    66  
    67