bucket.tf
- Bucket that will hold Ml Flow artifacts.
db.tf
- Postgres database set up using RDS, database details are stored in parameters.
ecr.tf
- ECR that will hold our container.
ecs.tf
- Definition of an ECS service.
gateways.tf
- NAT gateway and internet gateway.
load_balancer.tf
- Load balancer and all elements it needs - listener and target group.
local.tf
- Holds tags that are attached to all resources.
main.tf
- General configuration for terraform.
routing.tf
- Routing tables and routes association.
sg.tf
- Security groups that limit traffic to different elements to ensure security.
task_def.tf
- Task definition that is used to set up the service.
users.tf
- User that MlFlow uses to list manage elements in bucket.
variables.tf
- Input data.
vpc.tf
- Setup for the vpc, subnetworks and subnetworks group (for database).
Name | Version |
---|---|
terraform | >= 1.5 |
aws | ~> 5.4.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
app_name | n/a | string |
"mlflow-terraform" |
no |
cidr | Cidr block of vpc | string |
"10.0.0.0/25" |
no |
db_cidr_a | n/a | string |
"10.0.0.32/28" |
no |
db_cidr_b | n/a | string |
"10.0.0.48/28" |
no |
ecs_service_name | n/a | string |
"mlflow-test" |
no |
ecs_task_name | n/a | string |
"mlflow-test" |
no |
env | Name of the environment | string |
"test" |
no |
internet_cidr | Cidr block for the internet | string |
"0.0.0.0/0" |
no |
private_cidr_a | n/a | string |
"10.0.0.0/28" |
no |
private_cidr_b | n/a | string |
"10.0.0.16/28" |
no |
public_cidr_a | n/a | string |
"10.0.0.96/28" |
no |
public_cidr_b | n/a | string |
"10.0.0.112/28" |
no |
region | n/a | string |
"eu-central-1" |
no |
your_vpn | n/a | string |
"37.120.211.73/32" |
no |
zone_a | n/a | string |
"eu-central-1a" |
no |
zone_b | n/a | string |
"eu-central-1b" |
no |
The inputs need to be updated with correct values before the project can be started. | ||||
Either in variables.tf or in terraform.tfvars. |
No outputs.