google_compute_url_maps resource
Syntax
A google_compute_url_maps is used to test a Google UrlMap resource
Beta Resource
This resource has beta fields available. To retrieve these fields, include beta: true in the constructor for the resource.
Examples
describe google_compute_url_maps(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-url-map' }
end
Properties
Properties that can be accessed from the google_compute_url_maps resource:
See google_compute_url_map for more detailed information.
creation_timestamps: an array ofgoogle_compute_url_mapcreation_timestampdefault_services: an array ofgoogle_compute_url_mapdefault_servicedescriptions: an array ofgoogle_compute_url_mapdescriptionids: an array ofgoogle_compute_url_mapidfingerprints: an array ofgoogle_compute_url_mapfingerprintheader_actions: an array ofgoogle_compute_url_mapheader_actionhost_rules: an array ofgoogle_compute_url_maphost_rulesnames: an array ofgoogle_compute_url_mapnamepath_matchers: an array ofgoogle_compute_url_mappath_matcherstests: an array ofgoogle_compute_url_maptestsdefault_url_redirects: an array ofgoogle_compute_url_mapdefault_url_redirectdefault_route_actions: an array ofgoogle_compute_url_mapdefault_route_action
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where as a block or a method.
GCP permissions
Ensure the Compute Engine API is enabled for the current project.