AWS Elastic Beanstalk Environment

This page shows how to write Terraform and CloudFormation for Elastic Beanstalk Environment and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_elastic_beanstalk_environment)

Provides an Elastic Beanstalk Environment Resource. Elastic Beanstalk allows you to deploy and manage applications in the AWS cloud without worrying about the infrastructure that runs those applications. Environments are often things such as development, integration, or production.

Parameters

Example Usage (from GitHub)

github-iconochernyavskyi/devops
resource "aws_elastic_beanstalk_environment" "docker-env" {
  name                = "Docker-env3"
  application         = aws_elastic_beanstalk_application.docker-app.name
  solution_stack_name = "64bit Amazon Linux 2 v3.4.3 running Docker"
  setting {
    namespace = "aws:autoscaling:launchconfiguration"
github-iconseamless-io/blog-posts
resource "aws_elastic_beanstalk_environment" "environment" {
  name                = "my-awesome-environment"
  application         = aws_elastic_beanstalk_application.application.name
  solution_stack_name = "64bit Amazon Linux 2 v3.0.3 running Python 3.7"

  setting {
github-iconJanisRancans/aws-beanstalk
resource "aws_elastic_beanstalk_environment" "environment" {
  name                = "php-hello-world-environment"
  application         = aws_elastic_beanstalk_application.application.name
  solution_stack_name = "64bit Amazon Linux 2 v3.1.2 running PHP 7.3"

  setting {

CloudFormation Example (AWS::ElasticBeanstalk::Environment)

The AWS::ElasticBeanstalk::Environment resource is an AWS Elastic Beanstalk resource type that specifies an Elastic Beanstalk environment.

Parameters

Frequently asked questions

What is AWS Elastic Beanstalk Environment?

AWS Elastic Beanstalk Environment is a resource for Elastic Beanstalk of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Elastic Beanstalk Environment?

For Terraform, the ochernyavskyi/devops, seamless-io/blog-posts and JanisRancans/aws-beanstalk source code examples are useful. See the Terraform Example section for further details.