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

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

  region_target_http_proxy = input('region_target_http_proxy', value: {
  "health_check_service": "value_healthcheckservice",
  "project": "value_project",
  "region": "value_region",
  "kind": "value_kind",
  "id": "value_id",
  "creation_timestamp": "value_creationtimestamp",
  "name": "value_name",
  "description": "value_description",
  "self_link": "value_selflink",
  "self_link_with_id": "value_selflinkwithid",
  "url_map": "value_urlmap",
  "fingerprint": "value_fingerprint"
}, description: 'region_target_http_proxy description')
control 'google_compute_region_target_http_proxy-1.0' do
  impact 1.0
  title 'google_compute_region_target_http_proxy resource test'

  describe google_compute_region_target_http_proxy(project: gcp_project_id, region: region_target_http_proxy['region'], targetHttpProxy: region_target_http_proxy['targetHttpProxy']) do
  	it { should exist }
  	its('kind') { should cmp region_target_http_proxy['kind'] }
  	its('id') { should cmp region_target_http_proxy['id'] }
  	its('creation_timestamp') { should cmp region_target_http_proxy['creation_timestamp'] }
  	its('name') { should cmp region_target_http_proxy['name'] }
  	its('description') { should cmp region_target_http_proxy['description'] }
  	its('self_link') { should cmp region_target_http_proxy['self_link'] }
  	its('self_link_with_id') { should cmp region_target_http_proxy['self_link_with_id'] }
  	its('url_map') { should cmp region_target_http_proxy['url_map'] }
  	its('region') { should cmp region_target_http_proxy['region'] }
  	its('fingerprint') { should cmp region_target_http_proxy['fingerprint'] }

  end

  describe google_compute_region_target_http_proxy(project: gcp_project_id, region: region_target_http_proxy['region'], targetHttpProxy: region_target_http_proxy['targetHttpProxy']) do
  	it { should_not exist }
  end
end
