{"id":15962315,"url":"https://github.com/ytakahashi/cloudformation-macro-multiplex-resource","last_synced_at":"2025-04-04T12:24:11.621Z","repository":{"id":96083842,"uuid":"147928182","full_name":"ytakahashi/cloudformation-macro-multiplex-resource","owner":"ytakahashi","description":"Macro for AWS cloudformation to create multiple resources.","archived":false,"fork":false,"pushed_at":"2018-09-08T12:31:57.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T22:19:19.375Z","etag":null,"topics":["aws-cloudformation","cloudformation-macro","cloudformation-template","lambda-functions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ytakahashi.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":"2018-09-08T11:38:33.000Z","updated_at":"2018-09-08T12:31:59.000Z","dependencies_parsed_at":"2023-03-31T10:43:25.363Z","dependency_job_id":null,"html_url":"https://github.com/ytakahashi/cloudformation-macro-multiplex-resource","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"97a57e49f5466617593361d8d022ddbb91291f8b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakahashi%2Fcloudformation-macro-multiplex-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakahashi%2Fcloudformation-macro-multiplex-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakahashi%2Fcloudformation-macro-multiplex-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakahashi%2Fcloudformation-macro-multiplex-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytakahashi","download_url":"https://codeload.github.com/ytakahashi/cloudformation-macro-multiplex-resource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247175943,"owners_count":20896377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws-cloudformation","cloudformation-macro","cloudformation-template","lambda-functions"],"created_at":"2024-10-07T16:02:52.439Z","updated_at":"2025-04-04T12:24:11.591Z","avatar_url":"https://github.com/ytakahashi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudformation-macro-multiplex-resource\n\nMacro for cloudformation to multiplex resources to be created by a cloudformation template.\n\n## Getting started\n\n### Create Lambda Function\n\n```shell\ngit clone https://github.com/ytakahashi/cloudformation-macro-multiplex-resource.git\n\ncd cloudformation-macro-multiplex-resource/macro\n\nnpm run package --s3-bucket \u003cS3_BUCKET_NAME\u003e\n// or yarn package --s3-bucket \u003cS3_BUCKET_NAME\u003e\n\nnpm run deploy --stack-name \u003cSTACK_NAME\u003e\n// or yarn deploy --stack-name \u003cSTACK_NAME\u003e\n```\n\n### Use Macro\n\n#### Sample Template\n\n```yaml\nAWSTemplateFormatVersion: \"2010-09-09\"\nTransform: [MultiplexResourceMacro]\n\nParameters:\n  NumberOfRepeats:\n    Type: Number\n    Default: 1\n\nResources:\n  Resource:\n    Type: AWS::SNS::Topic\n    Properties:\n      DisplayName: test topic\n      TopicName: TestTopic\n```\n\n#### Run\n\n```shell\naws cloudformation deploy --template-file create-sns.yml --stack-name \u003cSTACK_NAME\u003e --parameter-overrides NumberOfRepeats=\u003cNUMBER_OF_RESOURCES_TO_BE_CREATED\u003e\n```\n\n### Supported Resource Type\n\n- SNS (AWS::SNS::Topic)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytakahashi%2Fcloudformation-macro-multiplex-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytakahashi%2Fcloudformation-macro-multiplex-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytakahashi%2Fcloudformation-macro-multiplex-resource/lists"}