Base structure for Drone CI/CD pipeline using terraform to create AWS resources.
Programs required:
- terraform
- tflint
- Replace the variables on tfvars and locals.tf to your account info.
- For the first time you run, comment the "backend s3" line on providers.tf
- Set the aws credentials using the aws-cli command aws configure
- cd terraform && terraform init && terraform apply -var-file config/dev/terraform.tfvars
After the dynamo and s3 tfstate creation:
make plan
make apply