# ----------------------------------------------------------------------------
#
#     ***     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_compute_target_ssl_proxies resource.'

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

target_ssl_proxy = input('target_ssl_proxy', value: {
  "name": "test-proxy",
}, description: 'target_ssl_proxy description')

control 'google_compute_target_ssl_proxies-1.0' do
  impact 1.0
  title 'google_compute_target_ssl_proxies resource test'

  describe google_compute_target_ssl_proxies(project: gcp_project_id) do
    it { should exist }
    its('names') { should include target_ssl_proxy['name'] }
    its('names') { should_not include 'nonexistent' }
  end
end
