Git Product home page Git Product logo

eksutils's Introduction

Massimo is currently employed at Amazon Web Services (AWS) and works as a Director, Product Management in the Next Generation Developer Experience organization. His past professional experiences includes IBM and VMware and he has, over a 25 years experience, specialized on compute primitives both for the cloud and in the data center.

The repositories found in this account are just meant to be experiments, prototypes aimed at learning new things. Massimo have a blog here and he is active on twitter.

eksutils's People

Contributors

kniec avatar mreferre avatar tomellis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eksutils's Issues

aws cli command can't import json policies

Occasionally people come across various syntax issues when using the eksutils shell. One way I was able to reproduce these problems is as follows. This is an eksutils shell running on a cloud9 instance that has the proper credentials configured. For some reasons the json in the file isn't being interpreted correctly by the shell (albeit it is properly formatted because jumping back to the standard Cloud9 shell the json can be imported just fine:

max:~/environment $ 
max:~/environment $ docker run -it --rm -v $HOME/.aws:/root/.aws mreferre/eksutils:latest                                                                             
sh-4.2# 
sh-4.2# aws iam create-policy --policy-name TestPolicyDeleteMe --policy-document https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.4/docs/examples/iam-policy.json                                                                                                    

An error occurred (MalformedPolicyDocument) when calling the CreatePolicy operation: Syntax errors in policy.
sh-4.2# exit
exit
max:~/environment $ aws iam create-policy --policy-name TestPolicyDeleteMe --policy-document https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.4/docs/examples/iam-policy.json 
{
    "Policy": {
        "PolicyName": "TestPolicyDeleteMe", 
        "PermissionsBoundaryUsageCount": 0, 
        "CreateDate": "2020-02-28T10:43:41Z", 
        "AttachmentCount": 0, 
        "IsAttachable": true, 
        "PolicyId": "XXXXXXXXXXXXXXXXX", 
        "DefaultVersionId": "v1", 
        "Path": "/", 
        "Arn": "arn:aws:iam::XXXXXXXXXXXX:policy/TestPolicyDeleteMe", 
        "UpdateDate": "2020-02-28T10:43:41Z"
    }
}
max:~/environment $ 

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.