Skip to content

Commit

Permalink
docs: replace duplicated SC deployment section with cross-reference
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Your Name committed Apr 14, 2026
1 parent 7a98671 commit daadbdf
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit daadbdf

Please sign in to comment.