Git Product home page Git Product logo

aws-s3-create-bucket's Introduction

AWS S3 Create Bucket for Github Actions

A Github Action that let's you create a new AWS S3 bucket on demand during your workflows.

Usage

This is a sample usage of this action that you can adapt / modify and copy to your workflow:

- name: Create bucket in S3
  uses: aitorres/[email protected]
  with:
    bucket-name: 'my-unique-name-for-my-bucket'
    aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws-region: 'us-east-2'
    acl: 'private'

Inputs

The following are the valid input arguments for this action:

Name Description
bucket-name Name for the new bucket (make sure it's an unique name)
aws-access-key-id AWS Secret Key ID, part of the credentials to be used during bucket creation. Please pass these through secret environment variables.
aws-secret-access-key AWS Secret Access Key, part of the credentials to be used during bucket creation. Please pass these through secret environment variables.
aws-region Region where the bucket will live. Default: us-east-1
acl ACL value to be used during bucket creation, supports all possible values that can be used with AWS CLI. Default: private

Misc

Please remember to follow these Security best practices in IAM for handling credentials used with these or any other Github Action that connects to your AWS Account.

aws-s3-create-bucket's People

Contributors

aitorres avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.