elastic-beanstalk-environment

cloudposse/elastic-beanstalk-environment/aws

Terraform Module HCL AWS

Terraform module to provision an AWS Elastic Beanstalk Environment

Install
module "elastic-beanstalk-environment" {
source = "cloudposse/elastic-beanstalk-environment/aws"
version = "0.53.0"
}
⭐ Source on GitHub 📦 Registry page
README

Terraform module to provision AWS Elastic Beanstalk environment Searching for Maintainer! The Cloud Posse team no longer utilizes Beanstalk all that much, but this module is still fairly popular. In an effort to give it the attention it deserves, we're searching for a volunteer maintainer to manage this specific repository's issues and pull requests (of which a number are already stacked up). This is a great opportunity for anyone who is looking to solidify and strengthen their Terraform skillset while also giving back to the SweetOps open source community! You can learn more about being a SweetOps contributor on our docs site here. If you're interested, reach out to us via the #terraform channel in the SweetOps Slack or directly via email @ hello@cloudposse.com > [!TIP] > #### 👽 Use Atmos

Inputs (50)
NameTypeDescriptionDefault
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'stnull
environment_typestringEnvironment type, e.g. 'LoadBalanced' or 'SingleInstance'. If setting to 'Singl"LoadBalanced"
security_group_namelist(string)The name to assign to the created security group. Must be unique within the VPC.[]
instance_typestringInstances type"t2.micro"
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
dns_zone_idstringRoute53 parent zone ID. The module will create sub-domain DNS record in the pare""
dns_subdomainstringThe subdomain to create on Route53 for the EB environment. For the subdomain to ""
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
loadbalancer_ssl_policystringSpecify a security policy to apply to the listener. This option is only applicab""
alb_zone_idmap(string)ALB zone id{ "af-south-1": "Z1EI3BVKMKK4AM", "a
deployment_batch_sizenumberPercentage or fixed number of Amazon EC2 instances in the Auto Scaling group on 1
s3_bucket_versioning_enabledboolWhen set to 'true' the s3 origin bucket will have versioning enabledtrue
deployment_policystringUse the DeploymentPolicy option to set the deployment type. The following values"Rolling"
loadbalancer_redirect_http_to_https_portstringDefines the port for the HTTP to HTTPS redirection rule"443"
enhanced_reporting_enabledboolWhether to enable "enhanced" health reporting for this environment. If false, "true
managed_actions_enabledboolEnable managed platform updates. When you set this to true, you must also speciftrue
env_varsmap(string)Map of custom ENV variables to be provided to the application running on Elastic{}
loadbalancer_redirect_http_to_https_prioritynumberDefines the priority for the HTTP to HTTPS redirection rule1
security_group_create_timeoutstringHow long to wait for the security group to be created."10m"
… and 10 more inputs
Outputs (21)
endpoint — Fully qualified DNS name for the environment
name — Name of the Elastic Beanstalk environment
security_group_name — Elastic Beanstalk environment Security Group name
elb_zone_id — ELB zone ID
setting — Settings specifically set for this environment
autoscaling_groups — The autoscaling groups used by this environment
load_balancers — Elastic Load Balancers in use by this environment
hostname — DNS hostname
security_group_id — Elastic Beanstalk environment Security Group ID
security_group_arn — Elastic Beanstalk environment Security Group ARN
ec2_service_role_arn — EC2 service IAM role ARN
load_balancer_log_bucket — Name of bucket where Load Balancer logs are stored (if enabled)
queues — SQS queues in use by this environment
id — ID of the Elastic Beanstalk environment
ec2_instance_profile_role_name — Instance IAM role name
tier — The environment tier
application — The Elastic Beanstalk Application for this environment
instances — Instances used by this environment
triggers — Autoscaling triggers in use by this environment
launch_configurations — Launch configurations in use by this environment
all_settings — List of all option settings configured in the environment. These are a combination of default settin
Resources (8)
aws_elastic_beanstalk_environmentaws_iam_instance_profileaws_iam_roleaws_iam_role_policyaws_iam_role_policy_attachmentaws_lb_listener_ruleaws_ssm_activationrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.53.0
Cloud AWS
★ Stars311
Forks322
Total downloads206.1k
Inputs50
Outputs21
Resources8
Examples3
LicenseApache-2.0
Namespacecloudposse
Updated