title | platform |
---|---|
About the google_spanner_databases resource |
gcp |
A google_spanner_databases
is used to test a Google Database resource
describe.one do
google_spanner_databases(project: 'chef-gcp-inspec', instance: 'spinstance').names.each do |name|
describe name do
it { should match 'spdatabase' }
end
end
end
Properties that can be accessed from the google_spanner_databases
resource:
See google_spanner_database.md for more detailed information
names
: an array ofgoogle_spanner_database
nameinstances
: an array ofgoogle_spanner_database
instance
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.