What problem does it solve? Setting up a private npm registry on AWS CodeArtifact requires correctly wiring together a domain, repositories, upstream connections, KMS encryption, and IAM policies, which is error-prone when written by hand. ## Core Features & Use Cases - Terraform Generation: Produces a complete terraform/ directory with main.tf, variables.tf, outputs.tf, codeartifact.tf, iam.tf, kms.tf, and a tfvars example. - Registry Infrastructure: Creates the CodeArtifact domain, private npm repository, npm public upstream proxy, external connection, KMS key and alias, and an IAM managed policy for read/publish. - CI/CD Integration: Attaches the CodeArtifact policy to an existing GitHub Actions OIDC role for automated publishing. - Use Case: A team adopting the AWS appendix path for their AI toolkit package asks for the registry infrastructure, provides region, account ID, and domain names, and receives validated Terraform ready for plan and apply. ## Quick Start Ask the assistant to generate the Terraform for the CodeArtifact npm registry, providing your AWS region, account ID, domain name, and repository names.