{"id":19508900,"url":"https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell","last_synced_at":"2025-07-11T20:07:30.791Z","repository":{"id":51667241,"uuid":"276423644","full_name":"rhythmictech/terraform-aws-imagebuilder-component-shell","owner":"rhythmictech","description":"Terraform module that creates EC2 Image Builder components with CloudFormation","archived":false,"fork":false,"pushed_at":"2023-02-23T22:00:46.000Z","size":37,"stargazers_count":1,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T22:46:13.811Z","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/rhythmictech.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-01T16:07:24.000Z","updated_at":"2023-01-19T19:00:10.000Z","dependencies_parsed_at":"2025-01-09T00:46:47.111Z","dependency_job_id":null,"html_url":"https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rhythmictech/terraform-aws-imagebuilder-component-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-imagebuilder-component-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-imagebuilder-component-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-imagebuilder-component-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-imagebuilder-component-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhythmictech","download_url":"https://codeload.github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhythmictech%2Fterraform-aws-imagebuilder-component-shell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264890087,"owners_count":23678833,"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":[],"created_at":"2024-11-10T23:10:19.559Z","updated_at":"2025-07-11T20:07:30.765Z","avatar_url":"https://github.com/rhythmictech.png","language":"HCL","readme":"# terraform-aws-imagebuilder-component-shell\nTerraform module that creates EC2 Image Builder components\n\n[![tflint](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/workflows/tflint/badge.svg?branch=main\u0026event=push)](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/actions?query=workflow%3Atflint+event%3Apush+branch%3Amain)\n[![tfsec](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/workflows/tfsec/badge.svg?branch=main\u0026event=push)](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/actions?query=workflow%3Atfsec+event%3Apush+branch%3Amain)\n[![yamllint](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/workflows/yamllint/badge.svg?branch=main\u0026event=push)](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/actions?query=workflow%3Ayamllint+event%3Apush+branch%3Amain)\n[![misspell](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/workflows/misspell/badge.svg?branch=main\u0026event=push)](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/actions?query=workflow%3Amisspell+event%3Apush+branch%3Amain)\n[![pre-commit-check](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/workflows/pre-commit-check/badge.svg?branch=main\u0026event=push)](https://github.com/rhythmictech/terraform-aws-imagebuilder-component-shell/actions?query=workflow%3Apre-commit-check+event%3Apush+branch%3Amain)\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=RhythmicTech\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/RhythmicTech?style=social\u0026logo=twitter\" alt=\"follow on Twitter\"\u003e\u003c/a\u003e\n\n## Example\n```hcl\nmodule \"test_shell_component\" {\n  source  = \"rhythmictech/imagebuilder-component-shell/aws\"\n  version = \"~\u003e 0.1.0\"\n\n  component_version = \"1.0.0\"\n  description       = \"Testing component\"\n  name              = \"testing-component\"\n  commands          = [\"echo 'Testing Component'\"]\n  tags              = local.tags\n}\n```\n\n## About\nThis module allows creation of a Shell commands component for use in EC2 Image Builder recipes. \n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.14 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 4.22.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | 4.55.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_imagebuilder_component.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/imagebuilder_component) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_change_description\"\u003e\u003c/a\u003e [change\\_description](#input\\_change\\_description) | description of changes since last version | `string` | `null` | no |\n| \u003ca name=\"input_commands\"\u003e\u003c/a\u003e [commands](#input\\_commands) | List of strings. Each string is a shell command | `list(string)` | n/a | yes |\n| \u003ca name=\"input_component_version\"\u003e\u003c/a\u003e [component\\_version](#input\\_component\\_version) | Version of the component | `string` | n/a | yes |\n| \u003ca name=\"input_create\"\u003e\u003c/a\u003e [create](#input\\_create) | A flag to disable creation of the component | `bool` | `true` | no |\n| \u003ca name=\"input_data_uri\"\u003e\u003c/a\u003e [data\\_uri](#input\\_data\\_uri) | Use this to override the component document with one at a particular URL endpoint | `string` | `null` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | description of component | `string` | `null` | no |\n| \u003ca name=\"input_kms_key_id\"\u003e\u003c/a\u003e [kms\\_key\\_id](#input\\_kms\\_key\\_id) | KMS key to use for encryption | `string` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | name to use for component | `string` | n/a | yes |\n| \u003ca name=\"input_phase\"\u003e\u003c/a\u003e [phase](#input\\_phase) | The Image Builder phase this component is in, either 'build' or 'test'. | `string` | `\"build\"` | no |\n| \u003ca name=\"input_platform\"\u003e\u003c/a\u003e [platform](#input\\_platform) | platform of component (Linux or Windows) | `string` | `\"Linux\"` | no |\n| \u003ca name=\"input_supported_os_versions\"\u003e\u003c/a\u003e [supported\\_os\\_versions](#input\\_supported\\_os\\_versions) | A set of operating system versions supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation. | `set(string)` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | map of tags to use for CFN stack and component | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_component_arn\"\u003e\u003c/a\u003e [component\\_arn](#output\\_component\\_arn) | ARN of the EC2 Image Builder Component |\n| \u003ca name=\"output_latest_minor_version_arn\"\u003e\u003c/a\u003e [latest\\_minor\\_version\\_arn](#output\\_latest\\_minor\\_version\\_arn) | ARN of the EC2 Image Builder Component |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## The Giants underneath this module\n- pre-commit.com/\n- terraform.io/\n- github.com/tfutils/tfenv\n- github.com/segmentio/terraform-docs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-imagebuilder-component-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmictech%2Fterraform-aws-imagebuilder-component-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmictech%2Fterraform-aws-imagebuilder-component-shell/lists"}