# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***
#
# ----------------------------------------------------------------------------
#
#     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_compute_zones resource.'

gcp_project_id = attribute(:gcp_project_id, default: 'gcp_project_id', description: 'The GCP project identifier.')
control 'google_compute_zones-1.0' do
  impact 1.0
  title 'google_compute_zones resource test'

  google_compute_zones(project: gcp_project_id).zone_names.each do |zone_name|
    describe google_compute_zone(project: gcp_project_id, name: zone_name) do
      it { should exist }
      it { should be_up }
    end
  end
end
