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.
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" }
The following arguments are supported:
name
- (Required) A unique name for this Template. application
– (Required) name of the application to associate with this configuration template description
- (Optional) Short description of the Template environment_id
– (Optional) The ID of the environment used with this configuration template setting
– (Optional) Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings solution_stack_name
– (Optional) A solution stack to base your Template off of. Example stacks can be found in the Amazon API documentation The setting
field supports the following format:
namespace
- unique namespace identifying the option's associated AWS resource name
- name of the configuration option value
- value for the configuration option resource
- (Optional) resource name for scheduled action In addition to all arguments above, the following attributes are exported:
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/r/elastic_beanstalk_configuration_template.html