|
|
||
|---|---|---|
| apps/cdh-maas | ||
| modules | ||
| .gitignore | ||
| README.MD | ||
| terraform.sh | ||
README.MD
MaaS-CDH Terraform IaC
Adding a main module
General structure:
- terraform
- each main module is a subfolder under
terraform/apps/<app>/<main module> - the corresponding modules are under
terraform/modules
Manual test deployment
bash terraform.sh [project] [environment] [region] [main module] [terraform command]
Main Modules
Following main modules are currently provided:
- init - terraform s3 state bucket and dynamodb lock table
- main - all our app resources like db, redis, lambda, sqs, sns, opensearch, api gateway, ...
Useful resources
The following documents are a good source of information:
TF Module structure best practices
Orbit developed modules should be working with the defined TF versions. It would be a good idea to keep also the TF code aligned. link
It is recommended scan code with checkov
Walk through guide (useful for beginners)
Several Connected Drive examples
Requirements
No requirements.
Providers
No providers.
Modules
No modules.
Resources
No resources.
Inputs
No inputs.
Outputs
No outputs.