# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    Type: MMv1     ***
#
# ----------------------------------------------------------------------------
#
#     This file is automatically generated by Magic Modules and manual
#     changes will be clobbered when the file is regenerated.
#
#     Please read more about how to change this file in README.md and
#     CONTRIBUTING.md located at the root of this package.
#
# ----------------------------------------------------------------------------

title 'Test GCP google_bigtableadmin_clusters resource.'

gcp_project_id = input(:gcp_project_id, value: 'gcp_project_id', description: 'The GCP project identifier.')

  cluster = input('cluster', value: {
  "name": "projects/ppradhan/instances/inspec-test/clusters/inspec-test-c1",
  "parent": "projects/ppradhan/instances/inspec-test",
  "location": "projects/ppradhan/locations/us-central1-f",
  "state": "READY",
  "default_storage_type": "SSD"
}, description: 'cluster description')
control 'google_bigtableadmin_clusters-1.0' do
  impact 1.0
  title 'google_bigtableadmin_clusters resource test'

    describe google_bigtableadmin_clusters(parent: cluster['parent']) do
      it { should exist }
      its('names') { should include cluster['name'] }
      its('locations') { should include cluster['location'] }
      its('states') { should include cluster['state'] }
      its('default_storage_types') { should include cluster['default_storage_type'] }
    end
end
