google_dataproc_workflow_templates resource
Use the google_dataproc_workflow_templates InSpec audit resource to to test a Google Cloud WorkflowTemplates resource.
Examples
describe google_dataproc_workflow_templates(parent: 'value_parent') do
it { should exist }
its('ids') { should include 'value_id' }
its('names') { should include 'value_name' }
its('create_times') { should include 'value_createtime' }
its('update_times') { should include 'value_updatetime' }
its('dag_timeouts') { should include 'value_dagtimeout' }
end
Parameters
parent: The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{projectId}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{projectId}/locations/{location}
Properties
Properties that can be accessed from the google_dataproc_workflow_templates resource:
See google_dataproc_project_location_workflow_template for more detailed information.
ids: an array ofgoogle_dataproc_project_location_workflow_templateidnames: an array ofgoogle_dataproc_project_location_workflow_templatenameversions: an array ofgoogle_dataproc_project_location_workflow_templateversioncreate_times: an array ofgoogle_dataproc_project_location_workflow_templatecreate_timeupdate_times: an array ofgoogle_dataproc_project_location_workflow_templateupdate_timelabels: an array ofgoogle_dataproc_project_location_workflow_templatelabelsplacements: an array ofgoogle_dataproc_project_location_workflow_templateplacementjobs: an array ofgoogle_dataproc_project_location_workflow_templatejobsparameters: an array ofgoogle_dataproc_project_location_workflow_templateparametersdag_timeouts: an array ofgoogle_dataproc_project_location_workflow_templatedag_timeoutencryption_configs: an array ofgoogle_dataproc_project_location_workflow_templateencryption_config
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where as a block or a method.
GCP permissions
Ensure the Cloud Dataproc API is enabled for the current project.