01/19/2023, 9:58 PM
Is there a concept of shared variables among policy files?
01/19/2023, 10:12 PM
No, there isn’t (yet). Policy variables are local to the policy file.
An effect similar to the shared variables can be achieved with derived roles.
01/19/2023, 10:23 PM
I experienced a lot of re-use when writing policies and ended up using ytt to define some variables in a single file and add them to different policy files automatically