On this page
google_cloudfunctions_cloud_functions resource
Syntax
A google_cloudfunctions_cloud_functions is used to test a Google CloudFunction resource
Examples
describe google_cloudfunctions_cloud_functions(project: 'chef-gcp-inspec', location: 'europe-west1') do
its('descriptions') { should include 'A description of the function' }
its('entry_points') { should include 'hello' }
end
Properties
Properties that can be accessed from the google_cloudfunctions_cloud_functions resource:
See the google_cloudfunctions_cloud_function resource for more information.
-
names -
an array of
google_cloudfunctions_cloud_functionname -
descriptions -
an array of
google_cloudfunctions_cloud_functiondescription -
statuses -
an array of
google_cloudfunctions_cloud_functionstatus -
entry_points -
an array of
google_cloudfunctions_cloud_functionentry_point -
runtimes -
an array of
google_cloudfunctions_cloud_functionruntime -
timeouts -
an array of
google_cloudfunctions_cloud_functiontimeout -
available_memory_mbs -
an array of
google_cloudfunctions_cloud_functionavailable_memory_mb -
service_account_emails -
an array of
google_cloudfunctions_cloud_functionservice_account_email -
update_times -
an array of
google_cloudfunctions_cloud_functionupdate_time -
version_ids -
an array of
google_cloudfunctions_cloud_functionversion_id -
labels -
an array of
google_cloudfunctions_cloud_functionlabels -
environment_variables -
an array of
google_cloudfunctions_cloud_functionenvironment_variables -
source_archive_urls -
an array of
google_cloudfunctions_cloud_functionsource_archive_url -
source_upload_urls -
an array of
google_cloudfunctions_cloud_functionsource_upload_url -
source_repositories -
an array of
google_cloudfunctions_cloud_functionsource_repository -
https_triggers -
an array of
google_cloudfunctions_cloud_functionhttps_trigger -
event_triggers -
an array of
google_cloudfunctions_cloud_functionevent_trigger -
locations -
an array of
google_cloudfunctions_cloud_functionlocation
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 Functions API is enabled for the current project.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_cloudfunctions_cloud_functions/