{"id":15156402,"url":"https://github.com/bendrucker/terraform-aws-arn","last_synced_at":"2025-10-03T18:53:45.580Z","repository":{"id":37235059,"uuid":"271113890","full_name":"bendrucker/terraform-aws-arn","owner":"bendrucker","description":"Terraform module that accepts the components of an AWS ARN and outputs the string form","archived":true,"fork":false,"pushed_at":"2024-05-28T18:32:32.000Z","size":1135,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T04:54:19.462Z","etag":null,"topics":["arn","aws","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bendrucker.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":"2020-06-09T21:30:23.000Z","updated_at":"2024-05-28T18:34:10.000Z","dependencies_parsed_at":"2024-05-28T21:44:34.501Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/terraform-aws-arn","commit_stats":{"total_commits":727,"total_committers":3,"mean_commits":"242.33333333333334","dds":"0.34112792297111416","last_synced_commit":"a68ce63f6e2504b8e28538e5180cb3eb0289d2b2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fterraform-aws-arn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fterraform-aws-arn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fterraform-aws-arn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fterraform-aws-arn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/terraform-aws-arn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241226829,"owners_count":19930488,"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":["arn","aws","terraform","terraform-module"],"created_at":"2024-09-26T19:20:56.344Z","updated_at":"2025-10-03T18:53:40.223Z","avatar_url":"https://github.com/bendrucker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-arn [![tests workflow status](https://github.com/bendrucker/terraform-aws-arn/workflows/tests/badge.svg?branch=master)](https://github.com/bendrucker/terraform-aws-arn/actions?query=workflow%3Atests) [![terraform module](https://img.shields.io/badge/terraform-module-623CE4)](https://registry.terraform.io/modules/bendrucker/arn/aws)\n\n⚠️ **Deprecated:** Terraform 1.8+ users should use the AWS provider's [`arn_build`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/functions/arn_build) function.\n\n---\n\n\u003e Terraform module that accepts the components of an AWS ARN and outputs the string form.\n\nThis module provides the inverse to [`data.aws_arn`](https://www.terraform.io/docs/providers/aws/d/arn.html). Where possible, prefer refererring to an ARN directly (as an attribute of a resource or data source) rather than constructing it. \n\nUse this module to construct:\n\n* ARNs for resources that do not yet exist but will be created in the future\n* ARNs with wildcard segments (for use in IAM policies)\n\n## Usage\n\nOnly the `service` and `resource_id` variables are required, since all ARNs include them. Variables `partition` (default: \"aws\"), `account_id` (default: \"\"), and `region` (default: \"\") are optional. \n\n```tf\nmodule \"object\" {\n  source = \"bendrucker/arn/aws\"\n\n  service     = \"s3\"\n  resource_id = \"my-bucket/my-object\"\n}\n\noutput \"object_arn\" {\n  value = module.object.arn\n}\n```\n\n## Testing\n\n```sh\ngo test -v ./...\n```\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fterraform-aws-arn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fterraform-aws-arn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fterraform-aws-arn/lists"}