joeduffy
5967259795
Add license headers
2018-05-22 15:02:47 -07:00
CyrusNajmabadi
72e00810c4
Filter the logs we emit to glog so that we don't leak out secrets. ( #1371 )
2018-05-15 15:28:00 -07:00
Pat Gavlin
a23b10a9bf
Update the copyright end date to 2018. ( #1068 )
...
Just what it says on the tin.
2018-03-21 12:43:21 -07:00
Chris Smith
441f4566c7
Fix panic when getting logs for older stacks ( #1053 )
...
* Fix panic when getting logs for older stacks
* Make GetChild return a tuple
* Update tests; add test
2018-03-15 13:26:43 -07:00
Matt Ellis
7c39620e9a
Introduce config.Key
...
Right now, config.Key is a type alias for tokens.ModuleMember. I did a
pass over the codebase such that we use config.Key everywhere it
looked like the value did not leak to some external process (e.g a
resource provider or a langhost).
Doing this makes it a little clearer (hopefully) where code is
depending on a module member structure (e.g. <package>:config:<value>)
instead of just an opaque type.
2018-03-08 10:52:25 -08:00
Matthew Riley
c74db59231
Keep embedded newlines in Lambda log messages
...
Set the `s` flag in the regexp so `.` matches `\n`.
Add an explicit `\n` to the regexp to account for the newline inserted by Lambda.
2018-01-29 23:33:59 -08:00
joeduffy
5ac81c2818
Add missing Infof argument
2017-12-27 14:54:27 -08:00
Luke Hoban
bc95745fb6
Update regexp to match changes in AWS generated names ( #760 )
...
Also keeps support for older name generation pattern.
2017-12-22 14:49:42 -08:00
Luke Hoban
90c7305f55
Update logs after changes in pulumi/cloud names ( #684 )
2017-12-09 17:27:43 -08:00
CyrusNajmabadi
75ee89f2b1
Always add 8 chars of randomness to URN names we create. Error if that exceeds the max length allowed for that resource. ( #500 )
...
* Include parent type in urn to better ensure component URN uniqueness.
2017-12-04 14:50:55 -08:00
joeduffy
88086816f2
Merge branch 'master' of github.com:pulumi/pulumi into resource_parenting_lite
2017-11-29 08:16:38 -08:00
Luke Hoban
65c9025480
Address PR feedback on #600 ( #611 )
2017-11-28 12:54:36 -08:00
joeduffy
5762f2d0a6
Merge remote-tracking branch 'origin/resource_parenting' into resource_parenting_lite
2017-11-28 11:03:34 -08:00
joeduffy
fbff100789
Expose operations.NewResourceMap and Tree APIs
...
This change includes a NewResourceMap API, alongside the existing,
but renamed, NewResourceTree API. This also tidies up the resulting
struct for public consumption. This is required for downstream tests.
2017-11-28 07:43:07 -08:00
Luke Hoban
a79b3ab50f
TODO and comment fixup
2017-11-26 09:57:41 -08:00
Luke Hoban
6c694dd959
Use better names for container logs
...
Use the URN name instead of the log group name for logs reported up by `cloud:service:Service` and `cloud:task:Task` components.
2017-11-22 21:46:50 -08:00
Luke Hoban
e8a8bfb2c5
Fix lint errors
2017-11-22 13:08:19 -08:00
Luke Hoban
098c90419a
Use correct source ID for logs from LogCollector
...
We have to reverse engineer the name from the soruce LogGroup information since that is all we got at runtime, but luckily that is sufficient given current name generation approach.
This kind of code is *very* sensitive to any changes to automatic name generation - but that is likely inevitable at this layer.
2017-11-22 12:47:40 -08:00
Luke Hoban
c6aac7df89
Support --since
on pulumi logs
...
Adds a `since` flag which gets only longs since some relative offset in the past.
2017-11-20 16:37:41 -08:00
Luke Hoban
af34e5cb83
Add container logging support
...
Also fix bug in de-duping.
2017-11-20 14:55:09 -08:00
Luke Hoban
16ccc67654
Incorporate logs from logCollector
...
Also allow AWS Lambda Function logs to be projected in raw form, but filtered/formatted by higher level layers.
2017-11-20 13:31:20 -08:00