{"id":18425451,"url":"https://github.com/toshke/cfhighlander-nestedconfig-demo","last_synced_at":"2025-04-13T18:17:55.021Z","repository":{"id":67599568,"uuid":"171865674","full_name":"toshke/cfhighlander-nestedconfig-demo","owner":"toshke","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-21T12:13:45.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T18:17:52.216Z","etag":null,"topics":["cfhighlander","cloudformation","demo","dsl"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toshke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-21T12:13:26.000Z","updated_at":"2019-02-21T12:14:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9a2d8e4-0268-4ca3-af9a-059ff8520bb9","html_url":"https://github.com/toshke/cfhighlander-nestedconfig-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshke%2Fcfhighlander-nestedconfig-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshke%2Fcfhighlander-nestedconfig-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshke%2Fcfhighlander-nestedconfig-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshke%2Fcfhighlander-nestedconfig-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshke","download_url":"https://codeload.github.com/toshke/cfhighlander-nestedconfig-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248758423,"owners_count":21156958,"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":["cfhighlander","cloudformation","demo","dsl"],"created_at":"2024-11-06T05:04:01.194Z","updated_at":"2025-04-13T18:17:54.984Z","avatar_url":"https://github.com/toshke.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### What\n\nDemo repository for [cfhighlander](https://github.com/theonestack/cfhighlander)\nnested component configuration via file name convention.\n\n##### How it works?\n\nPlease read upon [component concepts](https://github.com/theonestack/cfhighlander)\nif you are not already familiar with it before proceeding.  \n\n---\nAssume following component structure\n```\nA\n|\n|_ B\n   |_ BC1\n   |_ BC2\n```\n\nComponent `BC1` configuration can be injected from top level `A` component\nby placing `B.BC1.config.yaml` file alongside with `A` component configuration\n\n##### Run the demo\n\n1. Compile the cfhighlander gem from\nhttps://github.com/toshke/cfhighlander/tree/feature/multilevelconfigfiles\nfork / branch (not merged into upstream at time of the writing)\n\n2. Run `cfcompile` within this repo\n\n```\n$ cfcompile\n...\n..\n...C\nloudFormation YAML template for cloudfront written to /Users/nikolatosic/Development/projects/github/cfhl_playground/out/yaml/cloudfront.compiled.yaml\nCloudFormation YAML template for s3-cloudfront written to /Users/nikolatosic/Development/projects/github/cfhl_playground/out/yaml/s3cloudfront.compiled.yaml\nCloudFormation YAML template for s3-website written to /Users/nikolatosic/Development/projects/github/cfhl_playground/out/yaml/s3-website.compiled.yaml\n\n```\n\nComponent `app` consumes subcomponent `s3cloudfront` -\u003e\n  Component `s3cloudfront` consumes subcomponent `cloudfront` -\u003e\n  configuration file `s3cloudfront.cloudfront.config.yaml` contains config for\ncomponent that is 3 levels deep\n\nAfter compiling the code, configuration from `s3cloudfront.cloudfront.config.yaml`\ncan be located in `cloudfront.config.yaml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshke%2Fcfhighlander-nestedconfig-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshke%2Fcfhighlander-nestedconfig-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshke%2Fcfhighlander-nestedconfig-demo/lists"}