{"id":19607597,"url":"https://github.com/andreax79/cowformation","last_synced_at":"2026-05-14T17:34:13.138Z","repository":{"id":66177507,"uuid":"196541070","full_name":"andreax79/CowFormation","owner":"andreax79","description":"Mustache templates for AWS CloudFormation, in pure bash ","archived":false,"fork":false,"pushed_at":"2019-08-08T12:54:32.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T16:50:40.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/andreax79.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":"2019-07-12T08:32:57.000Z","updated_at":"2019-08-08T12:54:34.000Z","dependencies_parsed_at":"2023-02-20T18:00:19.186Z","dependency_job_id":null,"html_url":"https://github.com/andreax79/CowFormation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreax79/CowFormation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2FCowFormation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2FCowFormation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2FCowFormation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2FCowFormation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreax79","download_url":"https://codeload.github.com/andreax79/CowFormation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2FCowFormation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33035756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":[],"created_at":"2024-11-11T10:11:29.855Z","updated_at":"2026-05-14T17:34:13.111Z","avatar_url":"https://github.com/andreax79.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CowFormation\nMustache templates for AWS CloudFormation, in pure bash.\n\nExample\n-------\n\n    ApplicativeLogS3Bucket:\n      Type: AWS::S3::Bucket\n      Properties:\n        BucketName: {{ APPLICATIVE_LOGS }}\n        BucketEncryption: {{ BUCKET_ENCRYPTION }}\n        PublicAccessBlockConfiguration: {{ PUBLIC_ACCESS_BLOCK_CONFIGURATION }}\n        LifecycleConfiguration:\n          Rules:\n          - Id: DeleteOldFiles\n            ExpirationInDays: {{ LOGS_EXPIRATION_IN_DAYS }}\n            Status: Enabled\n        Tags: {{ S3_TAGS }}\n\n\nRequirements\n------------\n\n* Bash 3.x\n* AWS Command Line Interface\n\nUsage\n-----\n\n1) Edit `vars/0_commons.sh`\nThe following variables are require:\n\n    export STACK_NAME=\"test\"        # CloudFormation stack name\n    export FORMAT=\"yaml\"            # CloudFormation template format (yaml or json)\n    export AWS_REGION=\"eu-west-1\"   # AWS Region\n    export AWS_PROFILE=\"stage\"      # AWS Profile\n\n2) Add other .sh files exporting eviron variables in `vars` folder. You must make sure your data is in the environment when the template is rendered. The files are imported in lexicographical order.\n\n3) Edit/add templates parts (json/yaml) in `parts` folder. The files are concatenated in lexicographical order.\n\n4) Run `./cow.sh` for creating/updating the CloudFormation stack.\n\n   ./cow.sh\n\nLinks\n-----\n\n* Mustache Templates in Bash - https://github.com/tests-always-included/mo\n* Mustache, Logic-less templates- https://mustache.github.io/\n* ShellCheck a static analysis tool for shell scripts - https://github.com/koalaman/shellcheck\n* AWS Command Line Interface-  https://aws.amazon.com/cli/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreax79%2Fcowformation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreax79%2Fcowformation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreax79%2Fcowformation/lists"}