title | platform |
---|---|
About the google_compute_addresses resource |
gcp |
A google_compute_addresses
is used to test a Google Address resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
describe google_compute_addresses(project: 'chef-gcp-inspec', location: 'europe-west2') do
its('addresses') { should include '10.2.0.3' }
its('names') { should include 'inspec-gcp-global-address' }
end
Properties that can be accessed from the google_compute_addresses
resource:
See google_compute_address.md for more detailed information
addresses
: an array ofgoogle_compute_address
addressaddress_types
: an array ofgoogle_compute_address
address_typecreation_timestamps
: an array ofgoogle_compute_address
creation_timestampdescriptions
: an array ofgoogle_compute_address
descriptionids
: an array ofgoogle_compute_address
idnames
: an array ofgoogle_compute_address
namepurposes
: an array ofgoogle_compute_address
purposenetwork_tiers
: an array ofgoogle_compute_address
network_tiersubnetworks
: an array ofgoogle_compute_address
subnetworkusers
: an array ofgoogle_compute_address
userslabels
: (Beta only) an array ofgoogle_compute_address
labelslabel_fingerprints
: (Beta only) an array ofgoogle_compute_address
label_fingerprintstatuses
: an array ofgoogle_compute_address
statusregions
: an array ofgoogle_compute_address
region
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.