Feat: Pulumi S3
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
config:
|
||||
aws:region: us-east-1
|
||||
ia-bucket:
|
||||
buckets:
|
||||
- name: assistente-matricula-docs
|
||||
- name: assistente-matricula-transcribe
|
||||
tags:
|
||||
Enviroment: dev
|
||||
Owner: ai
|
||||
21
infra/s3/Pulumi.ifsp-assistente-matricula.yaml
Normal file
21
infra/s3/Pulumi.ifsp-assistente-matricula.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
config:
|
||||
aws:region: us-east-1
|
||||
ia-bucket:buckets:
|
||||
- name: br-edu-ifsp-capivari-s3-docs-matricula-dev
|
||||
- name: br-edu-ifsp-capivari-s3-transcribe-matricula-dev
|
||||
ia-bucket:tags:
|
||||
Nome: Bucket Knowledge Base
|
||||
Ambiente: dev
|
||||
projeto: Assistente matricula
|
||||
responsavel: infra@ifsp.edu.br
|
||||
centro-de-custo: ti-geral-2026
|
||||
criticidade: alta
|
||||
data-de-criacao: 13/03/2026
|
||||
backup: não
|
||||
servico: Armazenamento
|
||||
setor: ti
|
||||
campus: capivari
|
||||
area: infraestrutura
|
||||
prospeccao: sim
|
||||
poc: sim
|
||||
|
||||
@@ -4,6 +4,6 @@ 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)
|
||||
bucket=aws.s3.Bucket(b["name"],tags=tags)
|
||||
pulumi.export("bucket_name",bucket.id)
|
||||
pulumi.export("bucket_arn",bucket.arn)
|
||||
Reference in New Issue
Block a user