You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run the finish method of a ThunderbirdComponentResource ("TCR", to save my fingers), it blindly adds the resources to the project's resources dict using the name of the resource as a key. If you use a TCR that contains another TCR (like the way the RDS module creates secrets using the Secrets module), then the inner/nested TCR's resources still get added to the top level of project.resources. This breaks the nested structure, pollutes the top level's namespace, and leads to resources being discovered in duplicate during the flattening process later. This doesn't lead to actual problems, as the duplicates are removed by a set typecasting, but it makes debugging anything in the monitoring code very messy.
The text was updated successfully, but these errors were encountered:
When you run the
finish
method of aThunderbirdComponentResource
("TCR", to save my fingers), it blindly adds the resources to the project'sresources
dict using the name of the resource as a key. If you use a TCR that contains another TCR (like the way the RDS module creates secrets using the Secrets module), then the inner/nested TCR's resources still get added to the top level ofproject.resources
. This breaks the nested structure, pollutes the top level's namespace, and leads to resources being discovered in duplicate during the flattening process later. This doesn't lead to actual problems, as the duplicates are removed by aset
typecasting, but it makes debugging anything in the monitoring code very messy.The text was updated successfully, but these errors were encountered: