aws_eb_service

This module creates an elastic beanstalk service, with associated route53 entry, acm certificate for https and appropriate IAM policies.

Terraform Module Source

module "aws_eb_service" {
  source = "https://tfmodules.matillion-cto.matillion.com/aws_eb_service.tar.gz"
  ...
}

Resources

NameType
aws_elastic_beanstalk_application.eb_applicationresource
aws_elastic_beanstalk_environment.eb_environmentresource
aws_iam_instance_profile.eb_profileresource
aws_iam_policy.service_policyresource
aws_iam_role.eb_roleresource
aws_iam_role.service_roleresource
aws_s3_bucket.deployment_bucketresource
aws_security_group.security_groupresource
random_id.indexresource
aws_caller_identity.awsdata source
aws_elastic_beanstalk_hosted_zone.currentdata source
aws_elastic_beanstalk_solution_stack.solution_stackdata source
aws_iam_policy_document.empty_policydata source
aws_subnets.subnetsdata source
aws_vpc.vpcdata source

Inputs

NameDescriptionTypeDefaultRequired
serviceNameThe name of the servicestringn/ayes
serviceUrlNameThe first part of the URL, this gets combined with zone to be serviceUrlName.zonestringn/ayes
bucketNamen/astring""no
bucketPrefixn/astring"mtln-"no
bucketSlugn/astring""no
bucketSuffixn/astring"-deployment-"no
ebPolicyJsonn/astring""no
envVarsn/amap{}no
instanceTypen/astring"t3.small"no
internalPortn/anumber8080no
maxInstancesThe maximum number of instances that should be creatednumber2no
minInstancesThe minimum number of instances that should be creatednumber2no
profileThe spring profile that should be enabledstring"preprod"no
subnet_idThe subnet to deploy the service tostring""no
vpc_namen/astring"public"no
zoneThe name of the Route53 zone to usestring"matillion-cto.matillion.com"no

Outputs

NameDescription
eb_profile_arnn/a
output_valuesn/a