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_map
creation_timestampdefault_services
: an array ofgoogle_compute_url_map
default_servicedescriptions
: an array ofgoogle_compute_url_map
descriptionids
: an array ofgoogle_compute_url_map
idfingerprints
: an array ofgoogle_compute_url_map
fingerprintheader_actions
: an array ofgoogle_compute_url_map
header_actionhost_rules
: an array ofgoogle_compute_url_map
host_rulesnames
: an array ofgoogle_compute_url_map
namepath_matchers
: an array ofgoogle_compute_url_map
path_matcherstests
: an array ofgoogle_compute_url_map
testsdefault_url_redirects
: an array ofgoogle_compute_url_map
default_url_redirectdefault_route_actions
: an array ofgoogle_compute_url_map
default_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.