This PR adds a jsonpatch to plug Tags for the Events::Rules resource into the resource specification and adds Tags to the Rules class. Also, the example for running scripts/gen.py included the cloudformation spec file as an argument, which causes gen.py to treat it as a service name and build a corrupted file. This patch removes the cloudformation spec file from the example.
Per https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-tagging.html, only two EventBridge resources support tags: event buses and rules. The Troposphere EventBus resource had a field for tags, but Rules was missing it, probably because the Cloudformation Resource Specification was missing it. This is issue https://github.com/cloudtools/troposphere/issues/2151.
This PR adds a jsonpatch to plug Tags for the Events::Rules resource into the resource specification and adds Tags to the Rules class. Also, the example for running
scripts/gen.py
included the cloudformation spec file as an argument, which causes gen.py to treat it as a service name and build a corrupted file. This patch removes the cloudformation spec file from the example.