Feat: Adds base project

This commit is contained in:
2026-02-25 10:55:19 -03:00
parent 31f87ab437
commit 624f5dc7e6
46 changed files with 2355 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
config:
aws:region: us-east-1
ia-bucket:
buckets:
- name: assistente-matricula-docs
- name: assistente-matricula-transcribe
tags:
Enviroment: dev
Owner: ai

3
infra/s3/Pulumi.yaml Normal file
View File

@@ -0,0 +1,3 @@
name: ia-bucket
runtime: python
description: S3 bucket for assisten-matricula

9
infra/s3/main.py Normal file
View File

@@ -0,0 +1,9 @@
import pulumi
import pulumi_aws as aws
config=pulumi.Config()
buckets_config=config.require_object("buckets")
tags=config.require_object("tags")
for b in buckets_config:
bucket=aws.s3.BucketV2(b["name"],tags=tags)
pulumi.export("bucket_name",bucket.id)
pulumi.export("bucket_arn",bucket.arn)