59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
config:
|
|
aws:region: us-east-1
|
|
app-ecs:account_id: "305427701314" # dnxbrasil-nonprod
|
|
app-ecs:project_name: assistente-matricula
|
|
app-ecs:environment: dev
|
|
# app-ecs:bedrock_api_key:
|
|
# secure: you-can-put-your-pulumi-encrypted-secure-string-here
|
|
app-ecs:tags:
|
|
project: assistente-matricula-dev
|
|
env: dev # dev, test, stage, prod
|
|
account: nonprod # prod, nonprod, dataScience
|
|
costCenter: AI # AWSGeneral, AI, data, productName
|
|
owner: AI # team or a preson responsible
|
|
app-ecs:network:
|
|
vpc_id: vpc-08b91683af59eab85
|
|
alb_internal: false
|
|
alb_subnet_ids: # 2+ private subnets if alb_internal else public subnets in the same region and vpc
|
|
- subnet-07886057270d8c0f3
|
|
- subnet-0b40078e0a65d2a0c
|
|
alb_allow_ingress_cidr:
|
|
- 3.14.44.224/32
|
|
ecs_subnet_ids:
|
|
- subnet-07ccfbdb115f03d5e
|
|
- subnet-0e05d1de8407fb798
|
|
app-ecs:ecs:
|
|
- task_name: assistente-matricula-dev
|
|
ecr_repo_name: assistente-matricula-dev
|
|
ecr_image_tag: latest
|
|
ecr_image_digest: sha256:a4ff97f1bbc3ba14d40b32e68f6fc431dd5f05c70aff2f8b914f503e62bc7230
|
|
cpu: 256
|
|
memory: 512
|
|
desired_count: 1
|
|
sgs_allowing_ingress: {}
|
|
use_load_balancer: true
|
|
auto_scaling:
|
|
min_capacity: 1
|
|
max_capacity: 3
|
|
target_value: 60.0
|
|
lb_configs:
|
|
- name: streamlit
|
|
listener_port: 8501
|
|
target_port: 8501
|
|
container_port: 8501
|
|
- name: api
|
|
listener_port: 8000
|
|
target_port: 8000
|
|
container_port: 8000
|
|
env_variables:
|
|
LANGFUSE_HOST: http://0.0.0.0/0
|
|
REGION: us-east-1
|
|
AWS_ACCOUNT: "305427701314"
|
|
KNOWLEDGE_BASE_ID: LBH9H6QTAK
|
|
#SECRET_NAME: assistente-db-secrets-manager
|
|
# SECRET_NAME: dev/ai-pge-doc-classification
|
|
# BEDROCK_REGION: us-east-1
|
|
# LANGCHAIN_TRACING_V2: "true"
|
|
# LANGCHAIN_PROJECT: pge-doc-classification-dev
|
|
app-ecs:cloudwatch:
|
|
log_group_name: assistente-matricula-dev |