{"id":23184190,"url":"https://github.com/tierratelematics/terraform-aws-iam","last_synced_at":"2026-05-05T07:31:34.280Z","repository":{"id":98226325,"uuid":"97126761","full_name":"tierratelematics/terraform-aws-iam","owner":"tierratelematics","description":"Terraform module to build an AWS IAM related resources (such as Roles)","archived":false,"fork":false,"pushed_at":"2019-12-04T16:25:09.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T04:15:28.413Z","etag":null,"topics":["aws","iam","terraform"],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/tierratelematics.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":"2017-07-13T13:39:59.000Z","updated_at":"2019-12-04T16:23:44.000Z","dependencies_parsed_at":"2023-06-01T03:15:44.533Z","dependency_job_id":null,"html_url":"https://github.com/tierratelematics/terraform-aws-iam","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tierratelematics/terraform-aws-iam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierratelematics%2Fterraform-aws-iam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierratelematics%2Fterraform-aws-iam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierratelematics%2Fterraform-aws-iam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierratelematics%2Fterraform-aws-iam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tierratelematics","download_url":"https://codeload.github.com/tierratelematics/terraform-aws-iam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tierratelematics%2Fterraform-aws-iam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["aws","iam","terraform"],"created_at":"2024-12-18T09:17:54.629Z","updated_at":"2026-05-05T07:31:34.275Z","avatar_url":"https://github.com/tierratelematics.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-iam\n\nThis repository is a set of Terraform modules for defining IAM resources.\n\n## Quickstart\n\nThe easiest way to get the modules and running is by creating a Terraform definition for it, copy this snippet in a file\nnamed `main.tf`:\n\n```hcl\nmodule \"asg-server-role\" {\n  source = \"git::https://github.com/tierratelematics/terraform-aws-iam.git//modules/role?ref=0.2.0\"\n\n  project     = \"${var.project}\"\n  environment = \"${var.environment}\"\n  subject     = \"backend-asg\"\n\n  principals = [\n    \"ec2.amazonaws.com\",\n  ]\n\n  actions = [\n    \"logs:CreateLogGroup\",\n    \"logs:CreateLogStream\",\n    \"logs:PutLogEvents\",\n    \"logs:Describe*\",\n    \"logs:PutRetentionPolicy\",\n    \"ec2:Describe*\",\n  ]\n}\n```\n## More Examples\n\n### Existing Policies\n\nWhen you already have an existing AWS managed policy you can attach it to the role using the `policies` argument:\n\n```hcl\nmodule \"asg-server-role\" {\n\n  ...\n\n  policies = [\n    \"arn:aws:iam::aws:policy/AmazonS3FullAccess\",\n    \"arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole\",\n  ]\n}\n```\n\n### New Custom Policy\n\nIf you need a very focused custom policy for your role all you have to do is specify a list of required actions:\n\n```hcl\nmodule \"asg-server-role\" {\n\n  ...\n\n  actions = [\n    \"logs:CreateLogGroup\",\n    \"logs:CreateLogStream\",\n    \"logs:PutLogEvents\",\n    \"logs:Describe*\",\n    \"logs:PutRetentionPolicy\",\n    \"ec2:Describe*\",\n  ]\n}\n```\n\n## License\n\nCopyright 2018 Tierra SpA\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftierratelematics%2Fterraform-aws-iam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftierratelematics%2Fterraform-aws-iam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftierratelematics%2Fterraform-aws-iam/lists"}