Skip to content

Commit

Permalink
Generate libsonnet source from libgenerator PR tf-libsonnet/libgenera…
Browse files Browse the repository at this point in the history
…tor#237

Signed-off-by: tflibsonnet-ci <[email protected]>
  • Loading branch information
renovate[bot] authored and tflibsonnet-ci committed Jan 17, 2024
1 parent 57c8174 commit 79e299f
Show file tree
Hide file tree
Showing 12 changed files with 222 additions and 18 deletions.
32 changes: 30 additions & 2 deletions 3.x/_gen/resources/azure_secret_backend_role.libsonnet

Large diffs are not rendered by default.

30 changes: 27 additions & 3 deletions 3.x/_gen/resources/database_secret_backend_connection.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -207,61 +207,85 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
}),
},
mysql_aurora:: {
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_aurora.new` constructs a new object with attributes and blocks configured for the `mysql_aurora`\nTerraform sub block.\n\n\n\n**Args**:\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_aurora` sub block.\n', args=[]),
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_aurora.new` constructs a new object with attributes and blocks configured for the `mysql_aurora`\nTerraform sub block.\n\n\n\n**Args**:\n - `auth_type` (`string`): Specify alternative authorization type. (Only &#39;gcp_iam&#39; is valid currently) When `null`, the `auth_type` field will be omitted from the resulting object.\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `service_account_json` (`string`): A JSON encoded credential for use with IAM authorization When `null`, the `service_account_json` field will be omitted from the resulting object.\n - `tls_ca` (`string`): x509 CA file for validating the certificate presented by the MySQL server. Must be PEM encoded. When `null`, the `tls_ca` field will be omitted from the resulting object.\n - `tls_certificate_key` (`string`): x509 certificate for connecting to the database. This must be a PEM encoded version of the private key and the certificate combined. When `null`, the `tls_certificate_key` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_aurora` sub block.\n', args=[]),
new(
auth_type=null,
connection_url=null,
max_connection_lifetime=null,
max_idle_connections=null,
max_open_connections=null,
password=null,
service_account_json=null,
tls_ca=null,
tls_certificate_key=null,
username=null,
username_template=null
):: std.prune(a={
auth_type: auth_type,
connection_url: connection_url,
max_connection_lifetime: max_connection_lifetime,
max_idle_connections: max_idle_connections,
max_open_connections: max_open_connections,
password: password,
service_account_json: service_account_json,
tls_ca: tls_ca,
tls_certificate_key: tls_certificate_key,
username: username,
username_template: username_template,
}),
},
mysql_legacy:: {
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_legacy.new` constructs a new object with attributes and blocks configured for the `mysql_legacy`\nTerraform sub block.\n\n\n\n**Args**:\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_legacy` sub block.\n', args=[]),
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_legacy.new` constructs a new object with attributes and blocks configured for the `mysql_legacy`\nTerraform sub block.\n\n\n\n**Args**:\n - `auth_type` (`string`): Specify alternative authorization type. (Only &#39;gcp_iam&#39; is valid currently) When `null`, the `auth_type` field will be omitted from the resulting object.\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `service_account_json` (`string`): A JSON encoded credential for use with IAM authorization When `null`, the `service_account_json` field will be omitted from the resulting object.\n - `tls_ca` (`string`): x509 CA file for validating the certificate presented by the MySQL server. Must be PEM encoded. When `null`, the `tls_ca` field will be omitted from the resulting object.\n - `tls_certificate_key` (`string`): x509 certificate for connecting to the database. This must be a PEM encoded version of the private key and the certificate combined. When `null`, the `tls_certificate_key` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_legacy` sub block.\n', args=[]),
new(
auth_type=null,
connection_url=null,
max_connection_lifetime=null,
max_idle_connections=null,
max_open_connections=null,
password=null,
service_account_json=null,
tls_ca=null,
tls_certificate_key=null,
username=null,
username_template=null
):: std.prune(a={
auth_type: auth_type,
connection_url: connection_url,
max_connection_lifetime: max_connection_lifetime,
max_idle_connections: max_idle_connections,
max_open_connections: max_open_connections,
password: password,
service_account_json: service_account_json,
tls_ca: tls_ca,
tls_certificate_key: tls_certificate_key,
username: username,
username_template: username_template,
}),
},
mysql_rds:: {
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_rds.new` constructs a new object with attributes and blocks configured for the `mysql_rds`\nTerraform sub block.\n\n\n\n**Args**:\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_rds` sub block.\n', args=[]),
'#new':: d.fn(help='\n`vault.database_secret_backend_connection.mysql_rds.new` constructs a new object with attributes and blocks configured for the `mysql_rds`\nTerraform sub block.\n\n\n\n**Args**:\n - `auth_type` (`string`): Specify alternative authorization type. (Only &#39;gcp_iam&#39; is valid currently) When `null`, the `auth_type` field will be omitted from the resulting object.\n - `connection_url` (`string`): Connection string to use to connect to the database. When `null`, the `connection_url` field will be omitted from the resulting object.\n - `max_connection_lifetime` (`number`): Maximum number of seconds a connection may be reused. When `null`, the `max_connection_lifetime` field will be omitted from the resulting object.\n - `max_idle_connections` (`number`): Maximum number of idle connections to the database. When `null`, the `max_idle_connections` field will be omitted from the resulting object.\n - `max_open_connections` (`number`): Maximum number of open connections to the database. When `null`, the `max_open_connections` field will be omitted from the resulting object.\n - `password` (`string`): The root credential password used in the connection URL When `null`, the `password` field will be omitted from the resulting object.\n - `service_account_json` (`string`): A JSON encoded credential for use with IAM authorization When `null`, the `service_account_json` field will be omitted from the resulting object.\n - `tls_ca` (`string`): x509 CA file for validating the certificate presented by the MySQL server. Must be PEM encoded. When `null`, the `tls_ca` field will be omitted from the resulting object.\n - `tls_certificate_key` (`string`): x509 certificate for connecting to the database. This must be a PEM encoded version of the private key and the certificate combined. When `null`, the `tls_certificate_key` field will be omitted from the resulting object.\n - `username` (`string`): The root credential username used in the connection URL When `null`, the `username` field will be omitted from the resulting object.\n - `username_template` (`string`): Username generation template. When `null`, the `username_template` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `mysql_rds` sub block.\n', args=[]),
new(
auth_type=null,
connection_url=null,
max_connection_lifetime=null,
max_idle_connections=null,
max_open_connections=null,
password=null,
service_account_json=null,
tls_ca=null,
tls_certificate_key=null,
username=null,
username_template=null
):: std.prune(a={
auth_type: auth_type,
connection_url: connection_url,
max_connection_lifetime: max_connection_lifetime,
max_idle_connections: max_idle_connections,
max_open_connections: max_open_connections,
password: password,
service_account_json: service_account_json,
tls_ca: tls_ca,
tls_certificate_key: tls_certificate_key,
username: username,
username_template: username_template,
}),
Expand Down
Loading

0 comments on commit 79e299f

Please sign in to comment.