Skip to content

Commit

Permalink
feat: update README and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusBLopes committed May 13, 2024
1 parent f05651a commit 858d52c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TF_VAR_AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}
TF_VAR_AWS_DB_PASSWORD: ${{ secrets.AWS_DB_PASSWORD }}

jobs:
terraform:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ A infraestrutura criada por este repositório inclui:

## Como Utilizar

## Configuração da Infra de Rede

Para deploy correto dessa infra é necessário preencher o `vpc_id` no arquivo `security-group.tf` e as subnets públicas no arquivo `database.tf`. Todas essas informações se encontram no painel AWS da sua conta e para esse projeto são criadas juntamente com a infra do cluster kubernetes

### Configuração dos Secrets

Certifique-se de ter os seguintes secrets configurados:
Expand All @@ -18,9 +22,7 @@ Certifique-se de ter os seguintes secrets configurados:
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`
- `AWS_DEFAULT_REGION`
- A nível de **repositório**:
- `AWS_DB_USERNAME`
- `AWS_DB_PASSWORD`


### Deploy Automático via GitHub Actions

Expand Down

0 comments on commit 858d52c

Please sign in to comment.