No requirements.
The following providers are used by this module:
The following Modules are called:
Source: terraform-aws-modules/s3-bucket/aws
Version:
Source: terraform-aws-modules/rds/aws
Version:
The following resources are used by this module:
- aws_apprunner_service.label_studio (resource)
- aws_apprunner_vpc_connector.label_studio (resource)
- aws_iam_policy.app_runner_instance_role_policy (resource)
- aws_iam_policy.app_runner_service_policy (resource)
- aws_iam_role.app_runner_instance_role (resource)
- aws_iam_role.app_runner_service_role (resource)
- aws_iam_role_policy_attachment.app_runner_instance_role_policy_attachment (resource)
- aws_iam_role_policy_attachment.app_runner_service_policy_attachment (resource)
- aws_secretsmanager_secret_version.db_master_user_password (data source)
The following input variables are required:
Description: The URI of the ECR repository for the label studio image. ex: 123456789012.dkr.ecr.us-east-1.amazonaws.com/label-studio:latest
Type: any
Description: value of the ECR repository ARN for the label studio image
Type: any
Description: The IDs of the security groups for the VPC connector
Type: list(string)
Description: The IDs of the security groups for the database
Type: list(string)
Description: The name of the database subnet group
Type: any
Description: The IDs of the subnets
Type: list(string)
The following input variables are optional (have default values):
Description: value of the app runner port
Type: number
Default: 8080
Description: values of the app runner runtime instance configuration
Type:
object({
cpu = string
memory = string
})
Default:
{
"cpu": "1 vCPU",
"memory": "2 GB"
}
Description: The amount of storage to allocate for the database
Type: number
Default: 5
Description: The backup retention period for the database
Type: number
Default: 1
Description: The backup window for the database
Type: string
Default: "03:00-06:00"
Description: Whether to enable deletion protection for the database
Type: bool
Default: false
Description: The type of database engine
Type: string
Default: "postgres"
Description: The version of the database engine
Type: string
Default: "16"
Description: The instance class for the database
Type: string
Default: "db.t4g.micro"
Description: The maintenance window for the database
Type: string
Default: "Mon:00:00-Mon:03:00"
Description: The major version of the database engine
Type: string
Default: "16"
Description: The maximum amount of storage to allocate for the database
Type: number
Default: 10
Description: value of the database multi az
Type: bool
Default: true
Description: The name of the database
Type: string
Default: "postgres"
Description: values of the database parameters
Type:
list(object({
name = string
value = string
}))
Default:
[
{
"name": "autovacuum",
"value": "1"
},
{
"name": "client_encoding",
"value": "utf8"
},
{
"name": "rds.force_ssl",
"value": "0"
}
]
Description: value of the database port
Type: number
Default: 5432
Description: Whether to skip the final snapshot for the database
Type: bool
Default: true
Description: value of the database username
Type: string
Default: "postgres"
Description: A unique identifier for the resources
Type: string
Default: "label-studio-on-apprunner"
The following outputs are exported:
Description: The ARN of the App Runner service
Description: The ID of the RDS instance
Description: The endpoint of the RDS instance
Description: The endpoint of the RDS instance
Description: The object of the S3 bucket
Description: The name of the S3 bucket