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

gcp_project_id = input(:gcp_project_id, value: 'gcp_project_id', description: 'The GCP project identifier.')
gcp_location = input(:gcp_location, value: 'gcp_location', description: 'The GCP project region.')
node_template = input('node_template', value: {
  "name": "inspec-node-template",
  "label_key": "key",
  "label_value": "value"
}, description: 'Node template description')
control 'google_compute_node_templates-1.0' do
  impact 1.0
  title 'google_compute_node_templates resource test'


  describe google_compute_node_templates(project: gcp_project_id, region: gcp_location) do
    its('names') { should include node_template['name'] }
  end
end
