55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
config:
|
|
aws:region: us-east-1
|
|
app-ecs:account_id: "305427701314" # dnxbrasil-nonprod
|
|
app-ecs:project_name: assistente-analitico
|
|
app-ecs:environment: dev
|
|
# app-ecs:bedrock_api_key:
|
|
# secure: you-can-put-your-pulumi-encrypted-secure-string-here
|
|
app-ecs:tags:
|
|
project: assistente-analitico-db-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-17ceb96c
|
|
alb_internal: false
|
|
alb_subnet_ids: # 2+ private subnets if alb_internal else public subnets in the same region and vpc
|
|
- subnet-0de9f056635629827
|
|
- subnet-09cda74f27c543521
|
|
alb_allow_ingress_cidr:
|
|
- 3.14.44.224/32
|
|
ecs_subnet_ids:
|
|
- subnet-0f50f25a2fbb054d4
|
|
- subnet-043a427630309c2f4
|
|
app-ecs:ecs:
|
|
- task_name: assisnte-analitico-db-dev
|
|
ecr_repo_name: assistente-analitico-db-dev
|
|
ecr_image_tag: latest
|
|
ecr_image_digest: sha256:c9cd83a7caf51e7eee471d47649bbe0157d4c2703f365010f12997e63d941d3d
|
|
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://172.31.252.176:3000
|
|
# 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-analitico-db-dev |