Configuration Template Args
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
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elasticbeanstalk.Application;
import com.pulumi.aws.elasticbeanstalk.ApplicationArgs;
import com.pulumi.aws.elasticbeanstalk.ConfigurationTemplate;
import com.pulumi.aws.elasticbeanstalk.ConfigurationTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var tftest = new Application("tftest", ApplicationArgs.builder()
.description("tf-test-desc")
.build());
var myTemplate = new ConfigurationTemplate("myTemplate", ConfigurationTemplateArgs.builder()
.application(tftest.name())
.solutionStackName("64bit Amazon Linux 2015.09 v2.0.8 running Go 1.4")
.build());
}
}
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
Properties
name of the application to associate with this configuration template
Short description of the Template
The ID of the environment used with this configuration template
Option settings to configure the new Environment. These override specific values that are set as defaults. The format is detailed below in Option Settings
A solution stack to base your Template off of. Example stacks can be found in the 1