{"id":34549186,"url":"https://github.com/momentohq/cfn-cache","last_synced_at":"2026-05-28T15:31:23.486Z","repository":{"id":77969960,"uuid":"505702535","full_name":"momentohq/cfn-cache","owner":"momentohq","description":"Official cloudformation resource to manage momento serverless caches.","archived":false,"fork":false,"pushed_at":"2024-12-06T23:38:54.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-31T10:37:11.977Z","etag":null,"topics":["cloudformation","serverless"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/momentohq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-21T05:29:28.000Z","updated_at":"2024-12-06T23:38:52.000Z","dependencies_parsed_at":"2024-01-19T22:42:10.088Z","dependency_job_id":"5c5497f3-6047-4450-abc3-949c4a00b8fd","html_url":"https://github.com/momentohq/cfn-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/momentohq/cfn-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momentohq%2Fcfn-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momentohq%2Fcfn-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momentohq%2Fcfn-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momentohq%2Fcfn-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/momentohq","download_url":"https://codeload.github.com/momentohq/cfn-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momentohq%2Fcfn-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33615489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudformation","serverless"],"created_at":"2025-12-24T07:41:30.494Z","updated_at":"2026-05-28T15:31:23.480Z","avatar_url":"https://github.com/momentohq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Momento::SimpleCache::Cache\n\nOfficial cloudformation resource to manage momento serverless caches.\n\nPlease see our [Docs](docs/README.md) page for full end user docs and usage instructions for using this resource in your templates.\n\n## Registering and Using this resource in your account\n\nTo use this resource in your account it currently needs to be registered as a private cloudformation extension \nper AWS account and region you want to use it in. You will need to install the AWS \n[CFN CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html) locally\nto submit the resource.\n\n\nOnce you have the CFN-CLI installed and have AWS credentials for the account you want to deploy you can submit this \nresource to be registered in your account in region of your choice.\n```\nmake build\ncfn submit  --set-default -v --region us-east-1\n```\n\n### Usage\n\nOnce you have the `Momento::SimpleCache::Cache` cfn extension installed you can start provisioning caches in your account\n\nBootstrap account with your momento auth token in secrets manager\n```\nexport MOMENTO_AUTH_TOKEN=eyjbTestToken\naws secretsmanager create-secret \\\n    --name /momento/authToken \\\n    --secret-string $MOMENTO_AUTH_TOKEN\n```\n_replace $MOMENTO_AUTH_TOKEN value with token received [during signup](https://docs.momentohq.com/docs/overview)_\n\nCreate `test.yml` file with following contents\n```yaml\nAWSTemplateFormatVersion: 2010-09-09\n\nResources:\n  MyCache:\n    Type: Momento::SimpleCache::Cache\n    Properties:\n      Name: test-cache\n      AuthToken: '{{resolve:secretsmanager:/momento/authToken}}'\n```\n\nDeploy test stack\n\n```console\naws cloudformation create-stack \\\n    --region us-west-2 \\\n    --template-body \"file://test.yml\" \\\n    --stack-name \"test-cache-stack\"\n```\n\n\n### Development\n\nIf you want to contribute to this repo and develop on this resource please follow these instructions\n\n**Pre-Reqs:**\n1. Python version 3.6 or above.\n2. [AWS CLI](https://aws.amazon.com/cli/)\n3. [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)\n4. [CFN CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html)\n\n\nSet up a local json file to pass env vars in for testings called `local-e2e-test.json`\n\nIts contents should look like this:\n```json\n{\n  \"TypeFunction\": {\n    \"MODE\": \"TEST\",\n    \"MOMENTO_AUTH_TOKEN\": \"REPLACE_ME\"\n  }\n}\n```\n\nBuild resource\n```\nmake\n```\n\nStart Local lambda\n```\nsam local start-lambda -n local-e2e-test.json\n```\n\nRun Tests\n```\ncfn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomentohq%2Fcfn-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomentohq%2Fcfn-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomentohq%2Fcfn-cache/lists"}