Skip to content

feat(devops): introduce terraform infrastructure as code#178

Merged
Smartdevs17 merged 1 commit intoSmartdevs17:mainfrom
Code-Paragon:devops/terraform-infrastructure
Mar 29, 2026
Merged

feat(devops): introduce terraform infrastructure as code#178
Smartdevs17 merged 1 commit intoSmartdevs17:mainfrom
Code-Paragon:devops/terraform-infrastructure

Conversation

@Code-Paragon
Copy link
Copy Markdown
Contributor

Summary

Transitioned AgenticPay from manual/untracked infrastructure to a robust Infrastructure as Code (IaC) setup using Terraform. This standardizes our deployment pipeline across AWS.

Closes #68

Changes Made

  • Defined All Resources: Created modular infra/main.tf establishing a secure VPC, an ECR + AWS App Runner configuration for the Express.js backend, and AWS Amplify definitions for the Next.js frontend.
  • Multi-Environment Support: Created explicit .tfvars configurations for dev, staging, and prod networks, dynamically mapping to the appropriate Stellar networks (Testnet vs. Public).
  • State Management: Implemented an S3 backend with DynamoDB locking to ensure team collaboration is safe and state is securely encrypted.
  • Documentation: Added comprehensive infra/README.md detailing usage, prerequisites, and deployment commands.

Validation

  • Ran terraform fmt and terraform validate to ensure HCL correctness.
  • Infrastructure is completely isolated via workspace variables.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

@Code-Paragon is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@Code-Paragon Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Smartdevs17 Smartdevs17 merged commit de83c66 into Smartdevs17:main Mar 29, 2026
5 of 6 checks passed
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.

DevOps: Add Terraform for infrastructure

2 participants