{"id":19580424,"url":"https://github.com/dod-iac/terraform-aws-image-builder-component","last_synced_at":"2026-05-13T01:03:08.464Z","repository":{"id":113972195,"uuid":"501274703","full_name":"dod-iac/terraform-aws-image-builder-component","owner":"dod-iac","description":"Creates a component for EC2 Image Builder.","archived":false,"fork":false,"pushed_at":"2022-10-24T18:05:28.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-26T12:14:58.075Z","etag":null,"topics":["aws","ec2","imagebuilder","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/dod-iac/image-builder-component/aws","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/dod-iac.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":"2022-06-08T13:58:50.000Z","updated_at":"2023-04-20T03:34:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"b85b0346-c2f5-436b-9d1c-695a3abe3afe","html_url":"https://github.com/dod-iac/terraform-aws-image-builder-component","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dod-iac/terraform-aws-image-builder-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-image-builder-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-image-builder-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-image-builder-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-image-builder-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dod-iac","download_url":"https://codeload.github.com/dod-iac/terraform-aws-image-builder-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-image-builder-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","ec2","imagebuilder","terraform"],"created_at":"2024-11-11T07:25:35.545Z","updated_at":"2026-05-13T01:03:08.433Z","avatar_url":"https://github.com/dod-iac.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Usage\n\nCreates a component for EC2 Image Builder.\n\n```hcl\nmodule \"image_builder_component\" {\n  source = \"dod-iac/image-builder-component/aws\"\n\n  name     = format(\"app-%s-component-%s\", var.application, var.environment)\n  platform = \"Linux\"\n  data     = yamlencode(yamldecode(file(format(\"%s/data.yml\", path.module))))\n}\n```\n\nCreates a component from a template file for EC2 Image Builder.\n\n```hcl\nmodule \"image_builder_component\" {\n  source = \"dod-iac/image-builder-component/aws\"\n\n  name     = format(\"app-%s-component-%s\", var.application, var.environment)\n  platform = \"Linux\"\n  data = templatefile(format(\"%s/component.yml.tpl\", path.module), {\n    account_id = data.aws_caller_identity.current.account_id\n    bucket     = var.bucket\n  })\n}\n```\n\nCreate a series of components for EC2 Image Builder.\n\n```hcl\nmodule \"image_builder_component\" {\n  source = \"dod-iac/image-builder-component/aws\"\n\n  for_each = toset([\"component-a\", \"component-b\", \"component-c\"])\n\n  name     = format(\"app-%s-%s-%s\", var.application, each.key, var.environment)\n  platform = \"Linux\"\n  data     = yamlencode(yamldecode(file(format(\"%s/%s.yml\", path.module, each.key))))\n}\n```\n\n## Terraform Version\n\nTerraform 0.13. Pin module version to ~\u003e 1.0.0 . Submit pull-requests to main branch.\n\nTerraform 0.11 and 0.12 are not supported.\n\n## License\n\nThis project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105.  However, because the project utilizes code licensed from contributors and other third parties, it therefore is licensed under the MIT License.  See LICENSE file for more information.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.13 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 3.0, \u003c 5.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 3.0, \u003c 5.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_imagebuilder_component.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/imagebuilder_component) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_component_version\"\u003e\u003c/a\u003e [component\\_version](#input\\_component\\_version) | The version of the component. | `string` | `\"1.0.0\"` | no |\n| \u003ca name=\"input_data\"\u003e\u003c/a\u003e [data](#input\\_data) | Inline YAML string with data of the component. Exactly one of data and uri can be specified. | `string` | `\"\"` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | The description of the component. | `string` | `\"An component for EC2 Image Builder.\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the component. | `string` | n/a | yes |\n| \u003ca name=\"input_platform\"\u003e\u003c/a\u003e [platform](#input\\_platform) | The platform of the component. | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | The tags applied to the component. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_uri\"\u003e\u003c/a\u003e [uri](#input\\_uri) | S3 URI with data of the component. Exactly one of data and uri can be specified. | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The ARN of the EC2 Image Builder component. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdod-iac%2Fterraform-aws-image-builder-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdod-iac%2Fterraform-aws-image-builder-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdod-iac%2Fterraform-aws-image-builder-component/lists"}