cloudtools / stacker

An AWS CloudFormation Stack orchestrator/manager.
http://stacker.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
711 stars 167 forks source link

Allow variable lookups in config dict keys #777

Open deepmap-marcinr opened 9 months ago

deepmap-marcinr commented 9 months ago

Sometimes, dict keys need to be generated via lookup, such as for federated IAM policies, where the conditions need to specify outputs of other stacks.

Stacker supported lookup substitution inside dictionary values, and this change extends that behavior to dictionary keys.