{"id":44332678,"url":"https://github.com/drone-plugins/drone-aws-cli","last_synced_at":"2026-02-11T10:30:45.719Z","repository":{"id":151271653,"uuid":"624024054","full_name":"drone-plugins/drone-aws-cli","owner":"drone-plugins","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-11T01:29:43.000Z","size":27,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T05:55:16.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drone-plugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-05T15:26:20.000Z","updated_at":"2025-05-09T16:00:00.000Z","dependencies_parsed_at":"2025-08-13T23:02:22.383Z","dependency_job_id":"2a58faf5-7abd-4c40-be6d-45abdccca7de","html_url":"https://github.com/drone-plugins/drone-aws-cli","commit_stats":null,"previous_names":["drone-plugins/drone-aws-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drone-plugins/drone-aws-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-aws-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-aws-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-aws-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-aws-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone-plugins","download_url":"https://codeload.github.com/drone-plugins/drone-aws-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone-plugins%2Fdrone-aws-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"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":[],"created_at":"2026-02-11T10:30:42.581Z","updated_at":"2026-02-11T10:30:45.711Z","avatar_url":"https://github.com/drone-plugins.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DRONE AWS-CLI Plugin\n\nThe drone aws-cli plugin is designed to automate the installation, configuration, and execution of the AWS Command Line Interface (CLI) in your CI pipeline. This plugin simplifies the process of setting up and managing AWS credentials and configurations within your pipeline, allowing you to easily interact with AWS services.\n\nFeatures of the plugin include:\n\n1. Installation of a specified version of the AWS CLI or the latest version if not specified.\n2. Automatic configuration of AWS credentials and profiles based on the provided environment variables.\n3. Support for AWS session tokens for temporary credentials and enhanced security.\n4. Optional configuration of the default and profile-specific AWS regions. \n5. Customization of the AWS CLI installation directory and binary directory. \n6. Optional disabling of the AWS CLI output paging. \n\nBy incorporating this plugin into your pipeline, you can effortlessly interact with AWS services without the need to manually configure and manage the AWS CLI. This makes it more convenient and secure to deploy and manage resources on AWS within your CI/CD workflows.\n\n# Usage\n\nThe following settings changes this plugin's behavior.\n\n* aws_access_key_id (required) sets the AWS Access Key ID.\n* aws_secret_access_key (required) sets the AWS Secret Access Key.\n* aws_region (required) sets the AWS Region.\n* aws_session_token (optional) sets the AWS Session Token.\n* binary_dir (optional) sets the binary directory for the AWS CLI. Default: /usr/local/bin.\n* disable_aws_pager (optional) controls AWS CLI output paging. Default: true.\n* install_dir (optional) sets the installation directory for the AWS CLI. Default: /usr/local/drone-aws-cli.\n* install_dir (optional) sets the installation directory for the AWS CLI. Default: /usr/local/drone-aws-cli.\n* override_installed (optional) controls whether to override the installed AWS CLI version. Default: false.\n* profile_name (optional) sets the profile name to be configured. Default: default.\n* role_arn (optional) sets the Role ARN for assuming an IAM role with web identity.\n* role_session_name (optional) sets the Role Session Name for assuming an IAM role with web identity.\n* session_duration (optional) sets the Session Duration for assuming an IAM role with web identity. Default: 3600.\n* version (optional) sets the AWS CLI version to be installed. Default: latest.\n* configure_default_region (optional) controls whether to configure the default region. Default: true.\n* configure_profile_region (optional) controls whether to configure the profile region. Default: true.\n\nBelow is an example `.drone.yml` that uses this plugin.\n\n```yaml\nkind: pipeline\nname: default\n\nsteps:\n  - name: run plugins/drone-aws-cli plugin\n    image: plugins/drone-aws-cli\n    pull: if-not-exists\n    settings:\n      aws_access_key_id: your_aws_access_key_id\n      aws_secret_access_key: your_aws_secret_access_key\n      aws_region: your_aws_region\n      aws_session_token: your_aws_session_token\n      binary_dir: /usr/local/bin\n      disable_aws_pager: true\n      install_dir: /usr/local/drone-aws-cli\n      override_installed: false\n      profile_name: default\n      role_arn: your_role_arn\n      role_session_name: your_role_session_name\n      session_duration: \"3600\"\n      version: latest\n      configure_default_region: true\n      configure_profile_region: true\n```\n\n# Building\n\nBuild the plugin binary:\n\n```text\nscripts/build.sh\n```\n\nBuild the plugin image:\n\n```text\ndocker build -t plugins/drone-aws-cli -f docker/Dockerfile .\n```\n\n# Testing\n\nExecute the plugin from your current working directory:\n\n```text\ndocker run --rm \\\n  -e PLUGIN_AWS_ACCESS_KEY_ID=your_aws_access_key_id \\\n  -e PLUGIN_AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key \\\n  -e PLUGIN_AWS_REGION=your_aws_region \\\n  -e PLUGIN_PROFILE_NAME=your_aws_profile_name \\\n  -e PLUGIN_AWS_SESSION_TOKEN=your_aws_session_token \\\n  -e DRONE_COMMIT_SHA=8f51ad7884c5eb69c11d260a31da7a745e6b78e2 \\\n  -e DRONE_COMMIT_BRANCH=master \\\n  -e DRONE_BUILD_NUMBER=43 \\\n  -e DRONE_BUILD_STATUS=success \\\n  -w /drone/src \\\n  -v $(pwd):/drone/src \\\n  plugins/drone-aws-cli\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone-plugins%2Fdrone-aws-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone-plugins%2Fdrone-aws-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone-plugins%2Fdrone-aws-cli/lists"}