Spec-Zone.ru › Chef 18

Ресурс google_runtime_config_variables

[править на GitHub]

Синтаксис

Используется для проверки ресурса переменной Google.

Примеры

describe google_runtime_config_variables(project: 'chef-gcp-inspec', config: 'inspec-gcp-runtime-config') do
  its('texts') { should include 'example.com' }
end

Свойства

Свойства, к которым можно получить доступ из ресурса google_runtime_config_variables:

Для получения дополнительной информации см. ресурс google_runtime_config_variable.

values
массив значений google_runtime_config_variable
texts
массив текстов google_runtime_config_variable
names
массив имён google_runtime_config_variable
configs
массив конфигураций google_runtime_config_variable

Критерии фильтрации

Этот ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые можно использовать с where в виде блока или метода.

Разрешения GCP

Убедитесь, что API Cloud Resource Manager доступен для текущего проекта.

© 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_runtime_config_variables/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API