{"id":18930077,"url":"https://github.com/labd/terraform-aws-mach-shared","last_synced_at":"2026-03-19T07:10:50.777Z","repository":{"id":78052049,"uuid":"343348328","full_name":"labd/terraform-aws-mach-shared","owner":"labd","description":"Module to provision a 'shared' AWS account to use in a MACH stack","archived":false,"fork":false,"pushed_at":"2021-05-10T19:20:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-12T19:48:17.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/labd.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":"2021-03-01T08:51:48.000Z","updated_at":"2021-05-12T12:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d22ead9-ce5b-4e15-b7ba-ef7b51c50e4d","html_url":"https://github.com/labd/terraform-aws-mach-shared","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/labd/terraform-aws-mach-shared","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-aws-mach-shared","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-aws-mach-shared/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-aws-mach-shared/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-aws-mach-shared/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labd","download_url":"https://codeload.github.com/labd/terraform-aws-mach-shared/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labd%2Fterraform-aws-mach-shared/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272498289,"owners_count":24944819,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"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-08T11:36:29.644Z","updated_at":"2026-02-13T14:41:33.537Z","avatar_url":"https://github.com/labd.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS shared Infra module\n\nTo provision a 'shared' AWS account.\n\n[More information](https://docs.machcomposer.io/tutorial/aws/step-3-setup-aws-services.html) on how to setup your AWS environment for MACH.\n\n### Resources created\n\n- IAM 'upload lambda' role\n- 'component repository' S3 bucket\n- Policies to read and/or deploy from/to the component repository\n\n## Usage\n\n```\nmodule \"shared_infra\" {\n  source                       = \"git::https://github.com/labd/terraform-aws-mach-shared.git\"\n  code_repo_name = \"your-project-lambdas\"\n  allow_code_repo_read_access = [\n      \"arn:aws:iam::000000000:user/mach-user\", # MACH Test env\n  ]\n}\n```\n\n### Variables\n\n| name                          | required | description                                                           |\n| ----------------------------- | -------- | --------------------------------------------------------------------- |\n| `code_repo_name`              | *        | Name of code repository, for example your-project-lambdas             |\n| `code_repo_upload_role_name`  |          | Name of the code repository upload IAM role                           |\n| `allow_code_repo_read_access` |          | ARNs of entities that should be able to read from the code repository |\n| `allow_assume_deploy_role`    |          | ARNs of entities that should be able to upload to the code repository |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fterraform-aws-mach-shared","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabd%2Fterraform-aws-mach-shared","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabd%2Fterraform-aws-mach-shared/lists"}