Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/assesment] - Terraform Module for a Django Application Infrastructure #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alexherp
Copy link

@alexherp alexherp commented Mar 3, 2024

Implement Terraform Module for a Django Application Infrastructure

Changes Proposed

Testing Performed

  • Conducted initial testing in a controlled environment to ensure that the Terraform module correctly provisions the required Kubernetes resources.
  • Validated the deployment of a Django application using the new module, ensuring that the application functions as expected within the Kubernetes cluster.
  • Further testing is recommended in a staging environment before moving to production.

Deployment Notes

  • Ensure Terraform is installed and configured correctly in your deployment environment.
  • Follow the updated README.md instructions for deploying the Django application using the new Terraform module.
  • Review the Terraform module's variables and adjust them according to your environment's specifications.

Additional improvements

  • It is recommended to avoid using Terraform to manage Kubernetes resources, as it doesn't scale well and can lead to errors. Instead, it is advisable to create Helm charts for better management. In case Terraform is used, it is recommended to create a Terraform module for each Kubernetes resource to allow better granularity.
  • Include documentation and versioning in all the modules.
  • Add terratest to testing each module inside its own CI/CD.

Contributor

@ayushin
Copy link
Contributor

ayushin commented Apr 3, 2024

Hi @alexherp ,

I am sorry I missed this earlier.

I don't think that splitting into aws, gcp - django is the correct logical division

Also can you provide a specific link where "It is recommended to avoid using Terraform Kubernetes resources" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants