aws_elastic_beanstalk_ configuration_template
Provides an Elastic Beanstalk Configuration Template, which are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.
Example Usage
resource "aws_elastic_beanstalk_application" "tftest" {
name = "tf-test-name"
description = "tf-test-desc"
}
resource "aws_elastic_beanstalk_configuration_template" "tf_template" {
name = "tf-test-template-config"
application = "${aws_elastic_beanstalk_application.tftest.name}"
solution_stack_name = "64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4"
}
Argument Reference
The following arguments are supported:
name
- (Required) A unique name for this Template.application
– (Required) name of the application to associate with this configuration templatedescription
- (Optional) Short description of the Templateenvironment_id
– (Optional) The ID of the environment used with this configuration templatesetting
– (Optional) Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settingssolution_stack_name
– (Optional) A solution stack to base your Template off of. Example stacks can be found in the Amazon API documentation
Option Settings
The setting
field supports the following format:
namespace
- unique namespace identifying the option’s associated AWS resourcename
- name of the configuration optionvalue
- value for the configuration optionresource
- (Optional) resource name for scheduled action
Attributes Reference
The following attributes are exported:
name
application
description
environment_id
option_settings
solution_stack_name
See the source of this document at Terraform.io