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_environment
nameconfigs
: an array ofgoogle_composer_project_location_environment
configuuids
: an array ofgoogle_composer_project_location_environment
uuidstates
: an array ofgoogle_composer_project_location_environment
statecreate_times
: an array ofgoogle_composer_project_location_environment
create_timeupdate_times
: an array ofgoogle_composer_project_location_environment
update_timelabels
: an array ofgoogle_composer_project_location_environment
labelssatisfies_pzs
: an array ofgoogle_composer_project_location_environment
satisfies_pzsstorage_configs
: an array ofgoogle_composer_project_location_environment
storage_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.