title | platform |
---|---|
About the google_compute_global_forwarding_rules resource |
gcp |
A google_compute_global_forwarding_rules
is used to test a Google GlobalForwardingRule resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
describe google_compute_global_forwarding_rules(project: 'chef-gcp-inspec') do
its('count') { should be >= 1 }
its('port_ranges') { should include '80-80' }
end
Properties that can be accessed from the google_compute_global_forwarding_rules
resource:
See google_compute_global_forwarding_rule.md for more detailed information
creation_timestamps
: an array ofgoogle_compute_global_forwarding_rule
creation_timestampdescriptions
: an array ofgoogle_compute_global_forwarding_rule
descriptionids
: an array ofgoogle_compute_global_forwarding_rule
idip_addresses
: an array ofgoogle_compute_global_forwarding_rule
ip_addressip_protocols
: an array ofgoogle_compute_global_forwarding_rule
ip_protocolip_versions
: an array ofgoogle_compute_global_forwarding_rule
ip_versionlabels
: (Beta only) an array ofgoogle_compute_global_forwarding_rule
labelslabel_fingerprints
: (Beta only) an array ofgoogle_compute_global_forwarding_rule
label_fingerprintload_balancing_schemes
: an array ofgoogle_compute_global_forwarding_rule
load_balancing_schememetadata_filters
: an array ofgoogle_compute_global_forwarding_rule
metadata_filtersnames
: an array ofgoogle_compute_global_forwarding_rule
namenetworks
: an array ofgoogle_compute_global_forwarding_rule
networkport_ranges
: an array ofgoogle_compute_global_forwarding_rule
port_rangetargets
: an array ofgoogle_compute_global_forwarding_rule
target
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Compute Engine API is enabled for the current project.