github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/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  
    18  ```
    19  resource "aws_elastic_beanstalk_application" "tftest" {
    20    name = "tf-test-name"
    21    description = "tf-test-desc"
    22  }
    23  
    24  resource "aws_elastic_beanstalk_configuration_template" "tf_template" {
    25    name = "tf-test-template-config"
    26    application = "${aws_elastic_beanstalk_application.tftest.name}"
    27    solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4"
    28  }
    29  ```
    30  
    31  ## Argument Reference
    32  
    33  The following arguments are supported:
    34  
    35  * `name` - (Required) A unique name for this Template. 
    36  * `application` – (Required) name of the application to associate with this configuration template
    37  * `description` - (Optional) Short description of the Template 
    38  * `environment_id` – (Optional) The ID of the environment used with this configuration template
    39  * `setting` – (Optional) Option settings to configure the new Environment. These
    40    override specific values that are set as defaults. The format is detailed
    41    below in [Option Settings](#option-settings)
    42  * `solution_stack_name` – (Optional) A solution stack to base your Template 
    43  off of. Example stacks can be found in the [Amazon API documentation][1]
    44  
    45  
    46  ## Option Settings
    47  
    48  The `setting` field supports the following format:
    49  
    50  * `namespace` - unique namespace identifying the option's associated AWS resource
    51  * `name` - name of the configuration option
    52  * `value` - value for the configuration option
    53  * `resource` - (Optional) resource name for [scheduled action](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalingscheduledaction)
    54  
    55  ## Attributes Reference
    56  
    57  The following attributes are exported:
    58  
    59  * `name`
    60  * `application`
    61  * `description`
    62  * `environment_id`
    63  * `option_settings`
    64  * `solution_stack_name`
    65  
    66  [1]: http://docs.aws.amazon.com/fr_fr/elasticbeanstalk/latest/dg/concepts.platforms.html
    67  
    68