title | platform |
---|---|
About the google_spanner_instances resource |
gcp |
A google_spanner_instances
is used to test a Google Instance resource
describe.one do
google_spanner_instances(project: 'chef-gcp-inspec', config: 'regional-us-east1').configs.each do |config|
describe config do
it { should match 'regional-us-east1' }
end
end
end
Properties that can be accessed from the google_spanner_instances
resource:
See google_spanner_instance.md for more detailed information
names
: an array ofgoogle_spanner_instance
nameconfigs
: an array ofgoogle_spanner_instance
configdisplay_names
: an array ofgoogle_spanner_instance
display_namenode_counts
: an array ofgoogle_spanner_instance
node_countlabels
: an array ofgoogle_spanner_instance
labels
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 Cloud Spanner API is enabled for the current project.