Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-vault to v3.15.0 (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
tflibsonnet-ci and renovate[bot] committed Apr 18, 2023
1 parent a0abcb3 commit 7102793
Show file tree
Hide file tree
Showing 8 changed files with 720 additions and 2 deletions.
2 changes: 2 additions & 0 deletions 3.x/_gen/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
mfa_okta: (import 'resources/mfa_okta.libsonnet'),
mfa_pingid: (import 'resources/mfa_pingid.libsonnet'),
mfa_totp: (import 'resources/mfa_totp.libsonnet'),
mongodbatlas_secret_backend: (import 'resources/mongodbatlas_secret_backend.libsonnet'),
mongodbatlas_secret_role: (import 'resources/mongodbatlas_secret_role.libsonnet'),
mount: (import 'resources/mount.libsonnet'),
namespace: (import 'resources/namespace.libsonnet'),
nomad_secret_backend: (import 'resources/nomad_secret_backend.libsonnet'),
Expand Down
18 changes: 16 additions & 2 deletions 3.x/_gen/resources/identity_mfa_totp.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='identity_mfa_totp', url='', help='`identity_mfa_totp` represents the `vault_identity_mfa_totp` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#new':: d.fn(help="\n`vault.identity_mfa_totp.new` injects a new `vault_identity_mfa_totp` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n vault.identity_mfa_totp.new('some_id')\n\nYou can get the reference to the `id` field of the created `vault.identity_mfa_totp` using the reference:\n\n $._ref.vault_identity_mfa_totp.some_id.get('id')\n\nThis is the same as directly entering `\"${ vault_identity_mfa_totp.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `algorithm` (`string`): Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512. When `null`, the `algorithm` field will be omitted from the resulting object.\n - `digits` (`number`): The number of digits in the generated TOTP token. This value can either be 6 or 8 When `null`, the `digits` field will be omitted from the resulting object.\n - `issuer` (`string`): The name of the key\u0026#39;s issuing organization.\n - `key_size` (`number`): Specifies the size in bytes of the generated key. When `null`, the `key_size` field will be omitted from the resulting object.\n - `max_validation_attempts` (`number`): The maximum number of consecutive failed validation attempts allowed. When `null`, the `max_validation_attempts` field will be omitted from the resulting object.\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `period` (`number`): The length of time in seconds used to generate a counter for the TOTP token calculation. When `null`, the `period` field will be omitted from the resulting object.\n - `skew` (`number`): The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1. When `null`, the `skew` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
'#new':: d.fn(help="\n`vault.identity_mfa_totp.new` injects a new `vault_identity_mfa_totp` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n vault.identity_mfa_totp.new('some_id')\n\nYou can get the reference to the `id` field of the created `vault.identity_mfa_totp` using the reference:\n\n $._ref.vault_identity_mfa_totp.some_id.get('id')\n\nThis is the same as directly entering `\"${ vault_identity_mfa_totp.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `algorithm` (`string`): Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512. When `null`, the `algorithm` field will be omitted from the resulting object.\n - `digits` (`number`): The number of digits in the generated TOTP token. This value can either be 6 or 8 When `null`, the `digits` field will be omitted from the resulting object.\n - `issuer` (`string`): The name of the key\u0026#39;s issuing organization.\n - `key_size` (`number`): Specifies the size in bytes of the generated key. When `null`, the `key_size` field will be omitted from the resulting object.\n - `max_validation_attempts` (`number`): The maximum number of consecutive failed validation attempts allowed. When `null`, the `max_validation_attempts` field will be omitted from the resulting object.\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `period` (`number`): The length of time in seconds used to generate a counter for the TOTP token calculation. When `null`, the `period` field will be omitted from the resulting object.\n - `qr_size` (`number`): The pixel size of the generated square QR code. When `null`, the `qr_size` field will be omitted from the resulting object.\n - `skew` (`number`): The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1. When `null`, the `skew` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
new(
resourceLabel,
issuer,
Expand All @@ -12,6 +12,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
max_validation_attempts=null,
namespace=null,
period=null,
qr_size=null,
skew=null,
_meta={}
):: tf.withResource(
Expand All @@ -25,11 +26,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
max_validation_attempts=max_validation_attempts,
namespace=namespace,
period=period,
qr_size=qr_size,
skew=skew
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`vault.identity_mfa_totp.newAttrs` constructs a new object with attributes and blocks configured for the `identity_mfa_totp`\nTerraform resource.\n\nUnlike [vault.identity_mfa_totp.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `algorithm` (`string`): Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512. When `null`, the `algorithm` field will be omitted from the resulting object.\n - `digits` (`number`): The number of digits in the generated TOTP token. This value can either be 6 or 8 When `null`, the `digits` field will be omitted from the resulting object.\n - `issuer` (`string`): The name of the key&#39;s issuing organization.\n - `key_size` (`number`): Specifies the size in bytes of the generated key. When `null`, the `key_size` field will be omitted from the resulting object.\n - `max_validation_attempts` (`number`): The maximum number of consecutive failed validation attempts allowed. When `null`, the `max_validation_attempts` field will be omitted from the resulting object.\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `period` (`number`): The length of time in seconds used to generate a counter for the TOTP token calculation. When `null`, the `period` field will be omitted from the resulting object.\n - `skew` (`number`): The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1. When `null`, the `skew` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `identity_mfa_totp` resource into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`vault.identity_mfa_totp.newAttrs` constructs a new object with attributes and blocks configured for the `identity_mfa_totp`\nTerraform resource.\n\nUnlike [vault.identity_mfa_totp.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `algorithm` (`string`): Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512. When `null`, the `algorithm` field will be omitted from the resulting object.\n - `digits` (`number`): The number of digits in the generated TOTP token. This value can either be 6 or 8 When `null`, the `digits` field will be omitted from the resulting object.\n - `issuer` (`string`): The name of the key&#39;s issuing organization.\n - `key_size` (`number`): Specifies the size in bytes of the generated key. When `null`, the `key_size` field will be omitted from the resulting object.\n - `max_validation_attempts` (`number`): The maximum number of consecutive failed validation attempts allowed. When `null`, the `max_validation_attempts` field will be omitted from the resulting object.\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `period` (`number`): The length of time in seconds used to generate a counter for the TOTP token calculation. When `null`, the `period` field will be omitted from the resulting object.\n - `qr_size` (`number`): The pixel size of the generated square QR code. When `null`, the `qr_size` field will be omitted from the resulting object.\n - `skew` (`number`): The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1. When `null`, the `skew` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `identity_mfa_totp` resource into the root Terraform configuration.\n', args=[]),
newAttrs(
issuer,
algorithm=null,
Expand All @@ -38,6 +40,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
max_validation_attempts=null,
namespace=null,
period=null,
qr_size=null,
skew=null
):: std.prune(a={
algorithm: algorithm,
Expand All @@ -47,6 +50,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
max_validation_attempts: max_validation_attempts,
namespace: namespace,
period: period,
qr_size: qr_size,
skew: skew,
}),
'#withAlgorithm':: d.fn(help='`vault.string.withAlgorithm` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the algorithm field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `algorithm` field.\n', args=[]),
Expand Down Expand Up @@ -119,6 +123,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
},
'#withQrSize':: d.fn(help='`vault.number.withQrSize` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the qr_size field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `qr_size` field.\n', args=[]),
withQrSize(resourceLabel, value): {
resource+: {
vault_identity_mfa_totp+: {
[resourceLabel]+: {
qr_size: value,
},
},
},
},
'#withSkew':: d.fn(help='`vault.number.withSkew` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the skew field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `skew` field.\n', args=[]),
withSkew(resourceLabel, value): {
resource+: {
Expand Down
76 changes: 76 additions & 0 deletions 3.x/_gen/resources/mongodbatlas_secret_backend.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='mongodbatlas_secret_backend', url='', help='`mongodbatlas_secret_backend` represents the `vault_mongodbatlas_secret_backend` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#new':: d.fn(help="\n`vault.mongodbatlas_secret_backend.new` injects a new `vault_mongodbatlas_secret_backend` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n vault.mongodbatlas_secret_backend.new('some_id')\n\nYou can get the reference to the `id` field of the created `vault.mongodbatlas_secret_backend` using the reference:\n\n $._ref.vault_mongodbatlas_secret_backend.some_id.get('id')\n\nThis is the same as directly entering `\"${ vault_mongodbatlas_secret_backend.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `mount` (`string`): Path where MongoDB Atlas secret backend is mounted\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `private_key` (`string`): The Private Programmatic API Key used to connect with MongoDB Atlas API\n - `public_key` (`string`): The Public Programmatic API Key used to authenticate with the MongoDB Atlas API\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
new(
resourceLabel,
mount,
private_key,
public_key,
namespace=null,
_meta={}
):: tf.withResource(
type='vault_mongodbatlas_secret_backend',
label=resourceLabel,
attrs=self.newAttrs(
mount=mount,
namespace=namespace,
private_key=private_key,
public_key=public_key
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`vault.mongodbatlas_secret_backend.newAttrs` constructs a new object with attributes and blocks configured for the `mongodbatlas_secret_backend`\nTerraform resource.\n\nUnlike [vault.mongodbatlas_secret_backend.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `mount` (`string`): Path where MongoDB Atlas secret backend is mounted\n - `namespace` (`string`): Target namespace. (requires Enterprise) When `null`, the `namespace` field will be omitted from the resulting object.\n - `private_key` (`string`): The Private Programmatic API Key used to connect with MongoDB Atlas API\n - `public_key` (`string`): The Public Programmatic API Key used to authenticate with the MongoDB Atlas API\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `mongodbatlas_secret_backend` resource into the root Terraform configuration.\n', args=[]),
newAttrs(
mount,
private_key,
public_key,
namespace=null
):: std.prune(a={
mount: mount,
namespace: namespace,
private_key: private_key,
public_key: public_key,
}),
'#withMount':: d.fn(help='`vault.string.withMount` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the mount field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `mount` field.\n', args=[]),
withMount(resourceLabel, value): {
resource+: {
vault_mongodbatlas_secret_backend+: {
[resourceLabel]+: {
mount: value,
},
},
},
},
'#withNamespace':: d.fn(help='`vault.string.withNamespace` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the namespace field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `namespace` field.\n', args=[]),
withNamespace(resourceLabel, value): {
resource+: {
vault_mongodbatlas_secret_backend+: {
[resourceLabel]+: {
namespace: value,
},
},
},
},
'#withPrivateKey':: d.fn(help='`vault.string.withPrivateKey` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the private_key field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `private_key` field.\n', args=[]),
withPrivateKey(resourceLabel, value): {
resource+: {
vault_mongodbatlas_secret_backend+: {
[resourceLabel]+: {
private_key: value,
},
},
},
},
'#withPublicKey':: d.fn(help='`vault.string.withPublicKey` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the public_key field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `public_key` field.\n', args=[]),
withPublicKey(resourceLabel, value): {
resource+: {
vault_mongodbatlas_secret_backend+: {
[resourceLabel]+: {
public_key: value,
},
},
},
},
}
Loading

0 comments on commit 7102793

Please sign in to comment.