-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: balasubramanian-s <[email protected]>
- Loading branch information
1 parent
e313523
commit 4cef55e
Showing
8 changed files
with
112 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 43 additions & 43 deletions
86
...roc_project_location_workflow_template.md → ...rces/google_dataproc_workflow_template.md
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 8 additions & 4 deletions
12
...oc_project_location_workflow_templates.md → ...ces/google_dataproc_workflow_templates.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
test/integration/verify/controls/google_dataproc_project_location_workflow_template.rb
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
test/integration/verify/controls/google_dataproc_workflow_template.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# ---------------------------------------------------------------------------- | ||
# | ||
# *** 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_dataproc_workflow_template resource.' | ||
|
||
gcp_project_id = input(:gcp_project_id, value: 'gcp_project_id', description: 'The GCP project identifier.') | ||
|
||
workflow_template = input('workflow_template', value: { | ||
"project": "ppradhan", | ||
"reservation": "value_reservation", | ||
"zone": "value_zone", | ||
"id": "template-8b819", | ||
"parent": "projects/ppradhan/regions/us-central1", | ||
"name": "projects/ppradhan/regions/us-central1/workflowTemplates/template-8b819", | ||
"create_time": "2024-06-17T09:08:05.009118Z", | ||
"update_time": "2024-06-17T09:08:05.009118Z", | ||
"dag_timeout": "value_dagtimeout" | ||
}, description: 'workflow_template description') | ||
control 'google_dataproc_workflow_template-1.0' do | ||
impact 1.0 | ||
title 'google_dataproc_workflow_template resource test' | ||
|
||
describe google_dataproc_workflow_template(name: workflow_template['name']) do | ||
it { should exist } | ||
its('id') { should cmp workflow_template['id'] } | ||
its('name') { should cmp workflow_template['name'] } | ||
its('create_time') { should cmp workflow_template['create_time'] } | ||
its('update_time') { should cmp workflow_template['update_time'] } | ||
its('dag_timeout') { should cmp workflow_template['dag_timeout'] } | ||
|
||
end | ||
|
||
describe google_dataproc_workflow_template(name: "does_not_exit") do | ||
it { should_not exist } | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters