What problem does it solve? Setting up a private npm registry on AWS CodeArtifact requires correctly wiring many Terraform resources—domain, repositories, upstream connections, KMS encryption, and IAM policies—which is error-prone when done by hand. ## Core Features & Use Cases - Terraform Generation: Produces a complete terraform/ directory with main, variables, outputs, codeartifact, iam, kms, and tfvars example files. - Registry Infrastructure: Creates the CodeArtifact domain, private npm repository, npm public upstream/proxy repository, external npm connection, KMS key and alias, and an IAM managed policy for read/publish operations. - CI/CD Integration: Wires the registry 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, and receives validated Terraform ready for fmt and validate checks. ## Quick Start Ask the assistant to generate the Terraform configuration for the AWS CodeArtifact npm registry using your region, account id, domain name, and repository names.