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

early-musician-41645

11/08/2018, 10:31 PM
How do I get a list of config keys, or an iterable I can use for looping over the key-values? e.g. I have this config:
Copy code
config:
  aws:region: us-west-2
  tas:domain: sandbox
  tas:universe: dev
  tas:environment: online_mustang
  tas:configuration-bucket: sdp-sandbox-configuration
  service:backgrounder: "backgrounder,near.18.1107.1740-master-392912,pod-settings-1597742"
  service:dataserver: "dataserver,near.18.1107.1740-master-392912,pod-settings-1597742"
Copy code
services = new pulumi.Config("service");
I want to loop over
backgrounder
and
dataserver
keys, or have an iterator for key-values in the
services