{"id":13840192,"url":"https://github.com/getporter/aws-mixin","last_synced_at":"2025-07-28T01:33:03.758Z","repository":{"id":43255745,"uuid":"195137513","full_name":"getporter/aws-mixin","owner":"getporter","description":"Porter mixin for the AWS CLI","archived":false,"fork":false,"pushed_at":"2025-04-19T13:46:32.000Z","size":2594,"stargazers_count":2,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-04T22:00:55.209Z","etag":null,"topics":["amazon","aws","mixin","porter"],"latest_commit_sha":null,"homepage":"https://getporter.org/mixins/aws","language":"Go","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/getporter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2019-07-03T23:13:53.000Z","updated_at":"2025-04-19T13:42:59.000Z","dependencies_parsed_at":"2024-01-20T21:49:02.375Z","dependency_job_id":"da9b9ab4-efa3-4394-a278-8e3e5cf81ea0","html_url":"https://github.com/getporter/aws-mixin","commit_stats":{"total_commits":61,"total_committers":10,"mean_commits":6.1,"dds":0.540983606557377,"last_synced_commit":"97d9698770ec90e7d780d4182528c6c9f8538689"},"previous_names":["deislabs/porter-aws"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/getporter/aws-mixin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Faws-mixin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Faws-mixin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Faws-mixin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Faws-mixin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getporter","download_url":"https://codeload.github.com/getporter/aws-mixin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getporter%2Faws-mixin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451073,"owners_count":24089291,"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-07-27T02:00:11.917Z","response_time":82,"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":["amazon","aws","mixin","porter"],"created_at":"2024-08-04T17:00:43.458Z","updated_at":"2025-07-28T01:33:03.494Z","avatar_url":"https://github.com/getporter.png","language":"Go","funding_links":[],"categories":["Implementations"],"sub_categories":["Porter"],"readme":"# AWS CLI Mixin for Porter\n\nThis is a mixin for Porter that provides the AWS CLI.\n\n[![Build Status](https://dev.azure.com/getporter/porter/_apis/build/status/aws-mixin?branchName=main)](https://dev.azure.com/getporter/porter/_build/latest?definitionId=5\u0026branchName=main)\n\n\u003cimg src=\"https://porter.sh/images/mixins/aws.svg\" align=\"right\" width=\"150px\"/\u003e\n\nThe [Buckets Example](./examples/buckets) provides a full working bundle demonstrating how to use this mixin.\n\n## Mixin Syntax\n\nSee the [AWS CLI Command Reference](https://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws) for the supported commands\n\n```yaml\naws:\n  description: \"Description of the command\"\n  service: SERVICE\n  operation: OP\n  arguments:\n  - arg1\n  - arg2\n  flags:\n    FLAGNAME: FLAGVALUE\n    REPEATED_FLAG:\n    - FLAGVALUE1\n    - FLAGVALUE2\n  suppress-output: false\n  outputs:\n  - name: NAME\n    jsonPath: JSONPATH\n```\n\n### Suppress Output\n\nThe `suppress-output` field controls whether output from the mixin should be\nprevented from printing to the console. By default this value is false, using\nPorter's default behavior of hiding known sensitive values. When \n`suppress-output: true` all output from the mixin (stderr and stdout) are hidden.\n\nStep outputs (below) are still collected when output is suppressed. This allows\nyou to prevent sensitive data from being exposed while still collecting it from\na command and using it in your bundle.\n\n### Outputs\n\nThe mixin supports `jsonpath` outputs.\n\n\n#### JSON Path\n\nThe `jsonPath` output treats stdout like a json document and applies the expression, saving the result to the output.\n\n```yaml\noutputs:\n- name: NAME\n  jsonPath: JSONPATH\n```\n\nFor example, if the `jsonPath` expression was `$[*].id` and the command sent the following to stdout: \n\n```json\n[\n  {\n    \"id\": \"1085517466897181794\",\n    \"name\": \"my-vm\"\n  }\n]\n```\n\nThen then output would have the following contents:\n\n```json\n[\"1085517466897181794\"]\n```\n\n---\n\n## Examples\n\n### Provision a VM\n\n```yaml\naws:\n  description: \"Provision VM\"\n  service: ec2\n  operation: run-instances\n  flags:\n    image-id: ami-xxxxxxxx\n    instance-type: t2.micro\n```\n\n### Create a Bucket\n\n```yaml\naws:\n  description: \"Create Bucket\"\n  service: s3api\n  operation: create-bucket\n  flags:\n    bucket: my-buckkit\n    region: us-east-1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetporter%2Faws-mixin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetporter%2Faws-mixin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetporter%2Faws-mixin/lists"}