Code Monkey home page Code Monkey logo

iot-button-ec2-controller's People

Contributors

geekmuse 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

iot-button-ec2-controller's Issues

Unable to find lambda function

No matter what I try and I've double checked as well as copied and pasted function name from cli command 'aws lambda list-functions'. Any thoughts on why the function can't be found?
[root@antlet12 iot-button-ec2-controller]# grunt deploy
Running "lambda_package:default" (lambda_package) task
[email protected] ../../tmp/1521421419985.6768/node_modules/iot-button-ec2-controller
└── [email protected]
Created package at ./dist/iot-button-ec2-controller_1-0-0_2018-2-18-18-3-39.zip

Running "lambda_deploy:default" (lambda_deploy) task
Warning: Unable to find lambda function arn:aws:lambda:us-west-2:570656418299:function:myButtonFunction03, verify the lambda function name and AWS region are correct. Use --force to continue.

Aborted due to warnings.

AWS API request failed with undefined - TimeoutError: Missing credentials in config

@geekmuse When running "grunt deploy" I get an API credential failure. Do you know how to resolve? Where is the credential defined?

[root@antlet12 iot-button-ec2-controller]# grunt deploy
Running "lambda_package:default" (lambda_package) task
[email protected] ../../tmp/1521416107771.2512/node_modules/iot-button-ec2-controller
└── [email protected]
Created package at ./dist/iot-button-ec2-controller_1-0-0_2018-2-18-16-35-7.zip

Running "lambda_deploy:default" (lambda_deploy) task

AWS API request failed with undefined - TimeoutError: Missing credentials in config
Warning: Check your AWS credentials, region and permissions are correct. Use --force to continue.

Aborted due to warnings.

Unable to start/stop the VM

Hi,

i have the same issue than @tupacalypse187. When I try with a Test lambda I have:

{
"msg": "No instances in a state to be affected by this operation.",
"instanceIds": []
}

How I can fix that?
On my VM I have the tag KEY=IoT Enabled VALUE=IoT Enabled
I config on the index.js the region : AWS.config.region = 'eu-west-3';

When I click on the button, nothing happen.

Many thanks

grunt-aws-lambda requires peer of grunt@~0.4.5

Thanks for putting this code together. I'm playing around with the AWS Button and have this issue when working with your code. Do you recall how to resolve? Thank you.
$ npm install -->
npm WARN [email protected] requires a peer of grunt@~0.4.5 but none was installed.
npm ERR! code 1

Adding tag Name --> IoT Enabled does not stop/start EC2 Instance

Hi - Can you build out and see if all works? Maybe something has changed on AWS end. I have an EC2 instance with a tag 'Name' -> 'IoT Enabled' and pressing the button does not start or stop EC2. I also do not see any action in the logs besides SINGLE/DOUBLE. Am I labeling the tag correctly? Key = Name, Value = IoT Enabled?
All code is deployed and lambda is operationally ready. Thank you.

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.