# salt.grains.metadata_gce

Grains from cloud metadata servers at 169.254.169.254 in google cloud engine

New in version 3005.0.

depends:

  requests

To enable these grains that pull from the http://169.254.169.254/computeMetadata/v1/ metadata server set metadata_server_grains: True in the minion config.

    metadata_server_grains: True

salt.grains.metadata_gce.metadata()

  main function to output grains into loader