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

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

  tensorboard_experiment_run = input('tensorboard_experiment_run', value: {
  "name": "sklearn-2023-09-22-17-16-16-a25b0",
  "tensorboard": "1976367752880848896",
  "experiment": "autologging-experiment-fyc24zb2",
  "region": "us-central1",
  "parent": "projects/165434197229/locations/us-central1/tensorboards/1976367752880848896/experiments/autologging-experiment-fyc24zb2/runs/"
}, description: 'tensorboard_experiment_run description')
control 'google_vertex_ai_tensorboard_experiment_run-1.0' do
  impact 1.0
  title 'google_vertex_ai_tensorboard_experiment_run resource test'

  describe google_vertex_ai_tensorboard_experiment_run(name: "projects/#{gcp_project_id}/locations/#{tensorboard_experiment_run['region']}/tensorboards/#{tensorboard_experiment_run['tensorboard']}/experiments/#{tensorboard_experiment_run['experiment']}/runs/#{tensorboard_experiment_run['run']}", region: tensorboard_experiment_run['region']) do
  	it { should exist }

  end

  describe google_vertex_ai_tensorboard_experiment_run(name: "does_not_exit", region: tensorboard_experiment_run['region']) do
  	it { should_not exist }
  end
end
