chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Tags are not applied to api gateway resources

Open kalpaitch opened this issue 3 years ago • 5 comments

I've been tagging my resources, partly for billing, but also for access control. It turns out that the tags property is applied only to the lambda functions and not to any of the additional resources such as the api gateway.

This is found when being packaged to terraform but may also be the case for other deployment options.

chalice 1.26.2, python 3.8.0

kalpaitch avatar Dec 26 '21 10:12 kalpaitch

This is found when being packaged to terraform but may also be the case for other deployment options.

Correct. The docs you link mention only Lambda functions are tagged for now, so this applies to all deployment options. Marking as a feature request to tag all available resources created by Chalice.

jamesls avatar Jan 05 '22 22:01 jamesls

Thanks, my primary use case is tagging services for access control, so specifically the api gateway resources.

kalpaitch avatar Jan 06 '22 08:01 kalpaitch

Any update on this? We would also like to see that API Gateway, IAM roles, CloudWatch events and logs are tagged where possible.

MartijnHarmenzon avatar Jan 23 '23 14:01 MartijnHarmenzon

Any update or workaround on this would be super helpful. Thanks!

zenoweed avatar Sep 13 '23 06:09 zenoweed

Are there any updates to getting this feature added? It is great the lambda gets tagged, but would be great to insert tags on the api gateway and other resources deployed via chalice.

lxadtz33 avatar Apr 03 '24 18:04 lxadtz33