lumigo-io / lumigo-cdk-constructs

Home to the Lumigo constructs for the AWS Cloud Development Kit (AWS CDK)
Apache License 2.0
7 stars 1 forks source link

Support setting Lumigo tags #8

Closed hoegertn closed 1 year ago

hoegertn commented 1 year ago

It would be nice to be able to set the env var LUMIGO_TAG using this construct to group resources coming from on stack.

mmanciop commented 1 year ago

@hoegertn what is the perceived benefit over using a Tags.of(Construct).add('LUMIGO_TAG', <my_value>)?

hoegertn commented 1 year ago

It is not about tags in AWS but an environment variable of the Lambda function that leads to the Tag being set in Lumigo

mmanciop commented 1 year ago

Yes, but the Lumigo tag can also be set via the LUMIGO_TAG AWS Tag. Superficially, it works just the same. (Detail differ ofc, but not massively.)