Question:
I’m trying to set up a CI/CD pipeline for a Next.js frontend and AWS Amplify backend using GitHub. The deployment involves multiple environments across two AWS accounts:
• AWS Account A: dev and staging environments
• AWS Account B: qa and main environments
Each environment is linked to specific branches:
• dev branch: Development stage (Next.js frontend and Amplify backend)
• staging branch: Staging (derived from dev)
• qa branch: QA (derived from staging)
• main branch: Production (derived from qa)
I’m trying to set up a CI/CD pipeline for a Next.js frontend and AWS Amplify backend using GitHub. The deployment involves multiple environments across two AWS accounts:
• AWS Account A: dev and staging environments
• AWS Account B: qa and main environments
Each environment is linked to specific branches:
• dev branch: Development stage (Next.js frontend and Amplify backend)
• staging branch: Staging (derived from dev)
• qa branch: QA (derived from staging)
• main branch: Production (derived from qa)