Skip to content

pangolin-do-golang/thumb-processor-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thumb-processor-infra

Infra do Projeto Hackaton

Pre Requirements To Run This Pipeline.

  • Create a S3 Bucket in AWS Console (Unique Global Name)
    • Enable Versioning Bucket
  • Change the Bucket Name and DynamoDB Table Name in backend.conf files (./terraform/envs/dev | ./terraform/envs/prod)

This Pipeline Runs With a Pull Request:

  • Branches:
    • developer - Runs Developer Infra
    • main - Runs Productions Infra

Runs Localy

Get AWS Credentials And Runs:

aws configure  # And Paste de SECRET_KEY_ID and  SECRET_ACCESS_KEY and REGION

# After aws configure go to de Path /terraform and Runs: Config Backend S3
terraform init -backend-config=envs/dev/backend.tfvars

# Set Dev Worspace
terraform workspace new dev

# Runs Plan
terraform plan -out plan.out -var-file=envs/dev/terraform.tfvars

# Aplly Plan
terraform apply plan.out

About

Infra do Projeto Hackaton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages