Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-aws to v5.11.0 (#45)
Browse files Browse the repository at this point in the history
Signed-off-by: tflibsonnet-ci <[email protected]>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
tflibsonnet-ci and renovate[bot] authored Aug 4, 2023
1 parent 36aaa65 commit 2788f5f
Show file tree
Hide file tree
Showing 38 changed files with 2,319 additions and 64 deletions.
8 changes: 4 additions & 4 deletions 5.x/_gen/data/db_instance.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ 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='db_instance', url='', help='`db_instance` represents the `aws_db_instance` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`aws.data.db_instance.new` injects a new `data_aws_db_instance` Terraform `data source`\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 aws.data.db_instance.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.db_instance` using the reference:\n\n $._ref.data_aws_db_instance.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_db_instance.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 - `dataSrcLabel` (`string`): The name label of the block.\n - `db_instance_identifier` (`string`): Set the `db_instance_identifier` field on the resulting data source block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
'#new':: d.fn(help="\n`aws.data.db_instance.new` injects a new `data_aws_db_instance` Terraform `data source`\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 aws.data.db_instance.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.db_instance` using the reference:\n\n $._ref.data_aws_db_instance.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_db_instance.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 - `dataSrcLabel` (`string`): The name label of the block.\n - `db_instance_identifier` (`string`): Set the `db_instance_identifier` field on the resulting data source block. When `null`, the `db_instance_identifier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
db_instance_identifier,
db_instance_identifier=null,
tags=null,
_meta={}
):: tf.withData(
Expand All @@ -14,9 +14,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
attrs=self.newAttrs(db_instance_identifier=db_instance_identifier, tags=tags),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.db_instance.newAttrs` constructs a new object with attributes and blocks configured for the `db_instance`\nTerraform data source.\n\nUnlike [aws.data.db_instance.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) 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 - `db_instance_identifier` (`string`): Set the `db_instance_identifier` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `db_instance` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`aws.data.db_instance.newAttrs` constructs a new object with attributes and blocks configured for the `db_instance`\nTerraform data source.\n\nUnlike [aws.data.db_instance.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) 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 - `db_instance_identifier` (`string`): Set the `db_instance_identifier` field on the resulting object. When `null`, the `db_instance_identifier` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `db_instance` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
db_instance_identifier,
db_instance_identifier=null,
tags=null
):: std.prune(a={
db_instance_identifier: db_instance_identifier,
Expand Down
21 changes: 17 additions & 4 deletions 5.x/_gen/data/db_instances.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,25 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
values: values,
}),
},
'#new':: d.fn(help="\n`aws.data.db_instances.new` injects a new `data_aws_db_instances` Terraform `data source`\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 aws.data.db_instances.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.db_instances` using the reference:\n\n $._ref.data_aws_db_instances.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_db_instances.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 - `dataSrcLabel` (`string`): The name label of the block.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting data source block. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.db_instances.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
'#new':: d.fn(help="\n`aws.data.db_instances.new` injects a new `data_aws_db_instances` Terraform `data source`\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 aws.data.db_instances.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.db_instances` using the reference:\n\n $._ref.data_aws_db_instances.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_db_instances.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 - `dataSrcLabel` (`string`): The name label of the block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting data source block. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.db_instances.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
filter=null,
tags=null,
_meta={}
):: tf.withData(
type='aws_db_instances',
label=dataSrcLabel,
attrs=self.newAttrs(filter=filter),
attrs=self.newAttrs(filter=filter, tags=tags),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.db_instances.newAttrs` constructs a new object with attributes and blocks configured for the `db_instances`\nTerraform data source.\n\nUnlike [aws.data.db_instances.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) 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 - `filter` (`list[obj]`): Set the `filter` field on the resulting object. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.db_instances.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `db_instances` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`aws.data.db_instances.newAttrs` constructs a new object with attributes and blocks configured for the `db_instances`\nTerraform data source.\n\nUnlike [aws.data.db_instances.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) 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 - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting object. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.db_instances.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `db_instances` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
filter=null
filter=null,
tags=null
):: std.prune(a={
filter: filter,
tags: tags,
}),
'#withFilter':: d.fn(help='`aws.list[obj].withFilter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the filter field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [aws.list[obj].withFilterMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `filter` field.\n', args=[]),
withFilter(dataSrcLabel, value): {
Expand All @@ -49,4 +52,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
},
'#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]),
withTags(dataSrcLabel, value): {
data+: {
aws_db_instances+: {
[dataSrcLabel]+: {
tags: value,
},
},
},
},
}
Loading

0 comments on commit 2788f5f

Please sign in to comment.