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