KNOWN ISSUE: Environmental variables captured into a layer are not available when captured into layer