Giter VIP home page Giter VIP logo

simple-codeartifact-cloudformation's Introduction

simple-codeartifact-cloudformation

A simple Cloudformation for building a useful Code Artifact for hosting and caching modules.

Get Code

git clone [email protected]:bwinkers/simple-codeartifact-cloudformation.git

Change in the repo directory

cd simple-codeartifact-cloudformation

Verify the file

aws cloudformation validate-template --template-body file://template.yaml
{
    "Parameters": []
}

Deploy the stack

aws cloudformation deploy --template-body file://template.yaml --stack-name private-repo-stack

Get Login instructions from AWS Console

Login to the console and view Code Artifact to see your repos.

Artifact Console

Click the big orange button to get connection info fot your package manager.

Connection info

Auth for Javascript

aws codeartifact login --tool npm --repository private-repo --domain internal-development --domain-owner xxxxxxxxxx

Logins are valid for 12 hours

aws codeartifact login --tool npm --repository private-repo --domain internal-development --domain-owner xxxxxxxxxxxx
Successfully configured npm to use AWS CodeArtifact repository https://internal-development-xxxxxxxxxxxx.d.codeartifact.us-east-1.amazonaws.com/npm/private-repo/
Login expires in 12 hours at 2020-11-15 22:35:00-08:00

Auth for Python

aws codeartifact login --tool pip --repository private-repo --domain internal-development --domain-owner xxxxxxxxxx

View packages in repo

Install some packages using your package manager. If the package is found in your internal repo it is used. If not the package is downloaded from the public repo and stored.

Packages in repo

simple-codeartifact-cloudformation's People

Contributors

bwinkers avatar

Stargazers

Hitoshi Natzomucho avatar

Watchers

James Cloos avatar  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.