google_composer_project_location_environments resource
Use the google_composer_project_location_environments InSpec audit resource to to test a Google Cloud ProjectLocationEnvironment resource.
Examples
describe google_composer_project_location_environments(parent: ' value_parent') do
it { should exist }
its('name') { should include('value_name') }
its('uuid') { should include('value_uuid') }
its('state') { should include('value_state') }
its('create_time') { should include('value_createtime') }
its('update_time') { should include('value_updatetime') }
its('satisfies_pzs') { should include('value_satisfies_pzs') }
end
Properties
Properties that can be accessed from the google_composer_project_location_environments resource:
See google_composer_project_location_environment for more detailed information.
names: an array ofgoogle_composer_project_location_environmentnameconfigs: an array ofgoogle_composer_project_location_environmentconfiguuids: an array ofgoogle_composer_project_location_environmentuuidstates: an array ofgoogle_composer_project_location_environmentstatecreate_times: an array ofgoogle_composer_project_location_environmentcreate_timeupdate_times: an array ofgoogle_composer_project_location_environmentupdate_timelabels: an array ofgoogle_composer_project_location_environmentlabelssatisfies_pzs: an array ofgoogle_composer_project_location_environmentsatisfies_pzsstorage_configs: an array ofgoogle_composer_project_location_environmentstorage_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 https://composer.googleapis.com/ is enabled for the current project.