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
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_versionload_balancing_schemes
: an array ofgoogle_compute_global_forwarding_rule
load_balancing_schemenames
: 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.