Comments (8)
@bryanlalexander I re-released v0.1.4 with a re-compiled binary.
from grace-inventory.
[GSA/grace-inventory] How to increase verbosity? (Issue #38)
from grace-inventory.
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.
@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.
@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.
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.
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.
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)
- Disable fewer linters
- Reduce cyclomatic complexity functions
- Make list of sheets configurable HOT 1
- Run Time Error
- Terraform config - data.aws_caller_identity.current.account_id not enclosed properly HOT 4
- Use Organizations.ListAccountsPages()
- Bucket region issue when Lambda triggers HOT 3
- Improve parseAccountsFromJSON()
- Improve handler/helpers/accounts/accounts_test.go: TestAccountsList()
- Use Organizations.ListAccountsForParentPages() HOT 1
- add a localstack test HOT 1
- typeToSheet should contain all supported types
- Error setting resource tags HOT 5
- Unit tests require AWS credentials HOT 1
- Recommend Downloading binary vs compiling
- Requires logging S3 bucket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grace-inventory.