Is there a concept of shared variables among polic...
# help
m
Is there a concept of shared variables among policy files?
d
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.
m
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