Skip to content

Commit

Permalink
Increase size of Airflow EB env (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc authored Oct 24, 2023
1 parent 75f24c6 commit 84db064
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/modules/services/airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ This module makes
- Security group for application

# Database
We've used postgres database already set up. This could be done RDS
We've used postgres database already set up. This could be done on RDS.
14 changes: 13 additions & 1 deletion terraform/modules/services/airflow/eb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,20 @@ resource "aws_elastic_beanstalk_environment" "eb-api-env" {
value = "t4g.large"
}

setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "RootVolumeType"
value = "gp3"
}

setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "RootVolumeSize"
value = "16"
}

# the next line IS NOT RANDOM,
# see https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html
# see https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html
solution_stack_name = "64bit Amazon Linux 2 v3.6.0 running Docker"

# There are a LOT of settings, see here for the basic list:
Expand Down

0 comments on commit 84db064

Please sign in to comment.