https://pulumi.com logo
#general
Title
# general
c

cool-egg-852

07/17/2019, 8:12 PM
I keep getting
Cannot read property name of undefined
with
Copy code
envFrom: configMaps.map(function(configMap) {
              return {
                configMapRef: {
                  name: configMap.metadata.name
                }
              };
            }),
where
configMaps
is an array of resources.