From daadbdfa8655ada1766ef3cb376f92b7d0a50e03 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 14 Apr 2026 13:58:13 -0400 Subject: [PATCH] docs: replace duplicated SC deployment section with cross-reference The SC Product Deployment Methods section was near-identical to the canonical version in lambda-template-repo-generator. Replace with a concise cross-reference to keep a single source of truth. --- .github/copilot-instructions.md | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 5de6994..180d125 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -64,31 +64,11 @@ After editing `buildspec.yml`, run `tf apply` in `lambda-template-repo-generator ## SC Product Deployment Methods -There are **two ways** to deploy the EKS Terragrunt Repository Creator SC product: +See `lambda-template-repo-generator/.github/copilot-instructions.md` for full details. +Both methods use the same CFN product template; they must stay in sync. -### Method 1: Direct Terraform via `lambda-template-repo-generator/deploy/` ✅ Use this for testing/debugging - -```bash -cd lambda-template-repo-generator/deploy -tf init -tf apply -``` - -Deploys Lambda + CodeBuild project + SC portfolio/product + constraints directly from Terraform state. -Use as the **reference deployment** to validate changes before touching the census pipeline. -Current IDs (us-gov-west-1, account 229685449397): -- Portfolio: `port-h5qd63hw5yagq` (`eks-terragrunt-github-automation`) -- Product: `prod-lmua4oknugafg` (`eks-terragrunt-eks-repo-creator`) - -### Method 2: `terraform-service-catalog-census` Terragrunt (production path) - -```bash -cd terraform-service-catalog-census/non-prod/csvd-dev/west/service-catalog -tf apply # (via terragrunt) -``` - -Census-managed production deployment. Template source: -`terraform-service-catalog-census/templates/products/eks-terragrunt-repo/2-0-0.yaml` +- **Method 1** (testing): `cd lambda-template-repo-generator/deploy && tf apply` +- **Method 2** (production): `cd terraform-service-catalog-census/non-prod/csvd-dev/west/service-catalog && tf apply` Always verify Method 1 works first when debugging a census deployment issue.