title | platform |
---|---|
About the google_sql_flags resource |
gcp |
A google_sql_flags
is used to test a Google Flag resource
describe google_sql_flags do
its('names') { should include , 'audit_log' }
its('types') { should include , 'STRING' }
its('applies_tos.first') { should include , 'MYSQL_5_6' }
its('allowed_string_values.first') { should include , 'true' }
its('requires_restarts') { should include , 'true' }
end
Properties that can be accessed from the google_sql_flags
resource:
See google_sql_flag.md for more detailed information
allowed_string_values
: an array ofgoogle_sql_flag
allowed_string_valuesapplies_tos
: an array ofgoogle_sql_flag
applies_tomax_values
: an array ofgoogle_sql_flag
max_valuemin_values
: an array ofgoogle_sql_flag
min_valuenames
: an array ofgoogle_sql_flag
namerequires_restarts
: an array ofgoogle_sql_flag
requires_restarttypes
: an array ofgoogle_sql_flag
type
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Cloud SQL Admin API is enabled for the current project.