Giter Club home page Giter Club logo

Comments (8)

briankfitzwater avatar briankfitzwater commented on July 19, 2024 2

@bryanlalexander I re-released v0.1.4 with a re-compiled binary.

from grace-inventory.

briankfitzwater avatar briankfitzwater commented on July 19, 2024

[GSA/grace-inventory] How to increase verbosity? (Issue #38)

from grace-inventory.

bryanlalexander avatar bryanlalexander commented on July 19, 2024

Hey Michael, this appears to be a bug in our typeToSheet method where it seems we're missing *elbv2.LoadBalancer. We have future intent on refactoring this project to remove the need for a such a function, however, we can get this resolved fairly quickly.

from grace-inventory.

briankfitzwater avatar briankfitzwater commented on July 19, 2024

@mehrenreich Thanks for opening this ticket and adding the logs. We were able to identify the problem pretty quickly with the log data you provided and are working on a fix which is being tracked in Issue #39. I've added the enhancement tag to this issue and we are going to put this in our backlog. We're currently using Go's standard log package which doesn't have leveled logs. We're going to be looking at some alternative logging packages that provide optional logging levels.

from grace-inventory.

bryanlalexander avatar bryanlalexander commented on July 19, 2024

@mehrenreich v0.1.4 should contain the fix for this bug, if you want to give that release a shot and see if it works better.

from grace-inventory.

mehrenreich avatar mehrenreich commented on July 19, 2024

Hi @bryanlalexander ,

thanks for the update! I modified my config a bit to make the new version work, now I run into a completely different error:

START RequestId: c6ee7f6d-c3e0-4b02-9c1e-73d5eb87b5a4 Version: $LATEST
fork/exec /var/task/grace-inventory-lambda: permission denied: PathError
null
END RequestId: c6ee7f6d-c3e0-4b02-9c1e-73d5eb87b5a4
REPORT RequestId: c6ee7f6d-c3e0-4b02-9c1e-73d5eb87b5a4	Duration: 1.12 ms	Billed Duration: 100 ms	Memory Size: 128 MB	Max Memory Used: 30 MB	Init Duration: 1.57 ms

main.tf:

module "inventory" {
  source              = "github.com/GSA/grace-inventory?ref=v0.1.4"
  source_file         = "files/grace-inventory-lambda.zip"
  appenv              = "production"
  project_name        = "XXX"
}
inventory git:master ❯ tree                                                                                                                                                                                                                                                                         .
├── files
│   └── grace-inventory-lambda.zip
└── main.tf

1 directory, 2 files

from grace-inventory.

mehrenreich avatar mehrenreich commented on July 19, 2024

Hi @bryanlalexander,

after building the artefacts manually and not using the downloaded zip file, it works now! Now there are only some permission issues, but nothing you should take care about.

Thanks for your help!

from grace-inventory.

bryanlalexander avatar bryanlalexander commented on July 19, 2024

Thanks for the update @mehrenreich, yeah I bet I screwed up the release process. We'll get the binary updated tomorrow when everyone is back in the office. The permission issues may be related to the terraform, if you're seeing particular commands that aren't being allowed during the execution of the lambda. Feel free to post any of those you think are related to issues in this repository.

from grace-inventory.

Related Issues (17)

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.