install awscli2 then run this command and follow the instructions
aws configure --region us-east-1run this command
git clone git@github.com:56kcloud/dk-infra-as-code.gitif you're in mac with homebrew use this command
brew install hashicorp/tap/terraformif you have another OS refer to the official documentation here
run these command to validate that evrything is ok
$ terraform init
$ terraform validate
$ terraform planyou have two worfklows :
- the
PR workflow validationused to validate the syntax and the lint of your files run only on pull requests triggred on every push. - the
apply workflowapply modification on environement or create a new one default main branch but can be changed.