Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency hashicorp/terraform-provider-aws to v5.12.0 #46

Merged
merged 1 commit into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 134 additions & 0 deletions 5.x/_gen/data/codecatalyst_dev_environment.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
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='codecatalyst_dev_environment', url='', help='`codecatalyst_dev_environment` represents the `aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new` injects a new `data_aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.codecatalyst_dev_environment` using the reference:\n\n $._ref.data_aws_codecatalyst_dev_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_codecatalyst_dev_environment.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 - `alias` (`string`): Set the `alias` field on the resulting data source block. When `null`, the `alias` field will be omitted from the resulting object.\n - `creator_id` (`string`): Set the `creator_id` field on the resulting data source block. When `null`, the `creator_id` field will be omitted from the resulting object.\n - `env_id` (`string`): Set the `env_id` field on the resulting data source block.\n - `project_name` (`string`): Set the `project_name` field on the resulting data source block.\n - `space_name` (`string`): Set the `space_name` 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 - `repositories` (`list[obj]`): Set the `repositories` field on the resulting data source block. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
env_id,
project_name,
space_name,
alias=null,
creator_id=null,
repositories=null,
tags=null,
_meta={}
):: tf.withData(
type='aws_codecatalyst_dev_environment',
label=dataSrcLabel,
attrs=self.newAttrs(
alias=alias,
creator_id=creator_id,
env_id=env_id,
project_name=project_name,
repositories=repositories,
space_name=space_name,
tags=tags
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.codecatalyst_dev_environment.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_dev_environment`\nTerraform data source.\n\nUnlike [aws.data.codecatalyst_dev_environment.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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object.\n - `creator_id` (`string`): Set the `creator_id` field on the resulting object. When `null`, the `creator_id` field will be omitted from the resulting object.\n - `env_id` (`string`): Set the `env_id` field on the resulting object.\n - `project_name` (`string`): Set the `project_name` field on the resulting object.\n - `space_name` (`string`): Set the `space_name` 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 - `repositories` (`list[obj]`): Set the `repositories` field on the resulting object. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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 `codecatalyst_dev_environment` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
env_id,
project_name,
space_name,
alias=null,
creator_id=null,
repositories=null,
tags=null
):: std.prune(a={
alias: alias,
creator_id: creator_id,
env_id: env_id,
project_name: project_name,
repositories: repositories,
space_name: space_name,
tags: tags,
}),
repositories:: {
'#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.repositories.new` constructs a new object with attributes and blocks configured for the `repositories`\nTerraform sub block.\n\n\n\n**Returns**:\n - An attribute object that represents the `repositories` sub block.\n', args=[]),
new(

):: std.prune(a={}),
},
'#withAlias':: d.fn(help='`aws.string.withAlias` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the alias field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `alias` field.\n', args=[]),
withAlias(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
alias: value,
},
},
},
},
'#withCreatorId':: d.fn(help='`aws.string.withCreatorId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the creator_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `creator_id` field.\n', args=[]),
withCreatorId(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
creator_id: value,
},
},
},
},
'#withEnvId':: d.fn(help='`aws.string.withEnvId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the env_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `env_id` field.\n', args=[]),
withEnvId(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
env_id: value,
},
},
},
},
'#withProjectName':: d.fn(help='`aws.string.withProjectName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `project_name` field.\n', args=[]),
withProjectName(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
project_name: value,
},
},
},
},
'#withRepositories':: d.fn(help='`aws.list[obj].withRepositories` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the repositories 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].withRepositoriesMixin](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 `repositories` field.\n', args=[]),
withRepositories(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
repositories: value,
},
},
},
},
'#withRepositoriesMixin':: d.fn(help='`aws.list[obj].withRepositoriesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the repositories field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [aws.list[obj].withRepositories](TODO)\nfunction.\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 `repositories` field.\n', args=[]),
withRepositoriesMixin(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
repositories+: if std.isArray(v=value) then value else [value],
},
},
},
},
'#withSpaceName':: d.fn(help='`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the space_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `space_name` field.\n', args=[]),
withSpaceName(dataSrcLabel, value): {
data+: {
aws_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
space_name: value,
},
},
},
},
'#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_codecatalyst_dev_environment+: {
[dataSrcLabel]+: {
tags: value,
},
},
},
},
}
65 changes: 65 additions & 0 deletions 5.x/_gen/data/ec2_transit_gateway_route_table_routes.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
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='ec2_transit_gateway_route_table_routes', url='', help='`ec2_transit_gateway_route_table_routes` represents the `aws_ec2_transit_gateway_route_table_routes` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
filter:: {
'#new':: d.fn(help='\n`aws.ec2_transit_gateway_route_table_routes.filter.new` constructs a new object with attributes and blocks configured for the `filter`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `values` (`list`): Set the `values` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `filter` sub block.\n', args=[]),
new(
name,
values
):: std.prune(a={
name: name,
values: values,
}),
},
'#new':: d.fn(help="\n`aws.data.ec2_transit_gateway_route_table_routes.new` injects a new `data_aws_ec2_transit_gateway_route_table_routes` 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.ec2_transit_gateway_route_table_routes.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.ec2_transit_gateway_route_table_routes` using the reference:\n\n $._ref.data_aws_ec2_transit_gateway_route_table_routes.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_ec2_transit_gateway_route_table_routes.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 - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on the resulting data source 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.ec2_transit_gateway_route_table_routes.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,
transit_gateway_route_table_id,
filter=null,
_meta={}
):: tf.withData(
type='aws_ec2_transit_gateway_route_table_routes',
label=dataSrcLabel,
attrs=self.newAttrs(filter=filter, transit_gateway_route_table_id=transit_gateway_route_table_id),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.ec2_transit_gateway_route_table_routes.newAttrs` constructs a new object with attributes and blocks configured for the `ec2_transit_gateway_route_table_routes`\nTerraform data source.\n\nUnlike [aws.data.ec2_transit_gateway_route_table_routes.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 - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on 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.ec2_transit_gateway_route_table_routes.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 `ec2_transit_gateway_route_table_routes` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
transit_gateway_route_table_id,
filter=null
):: std.prune(a={
filter: filter,
transit_gateway_route_table_id: transit_gateway_route_table_id,
}),
'#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): {
data+: {
aws_ec2_transit_gateway_route_table_routes+: {
[dataSrcLabel]+: {
filter: value,
},
},
},
},
'#withFilterMixin':: d.fn(help='`aws.list[obj].withFilterMixin` 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 append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [aws.list[obj].withFilter](TODO)\nfunction.\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=[]),
withFilterMixin(dataSrcLabel, value): {
data+: {
aws_ec2_transit_gateway_route_table_routes+: {
[dataSrcLabel]+: {
filter+: if std.isArray(v=value) then value else [value],
},
},
},
},
'#withTransitGatewayRouteTableId':: d.fn(help='`aws.string.withTransitGatewayRouteTableId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the transit_gateway_route_table_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `transit_gateway_route_table_id` field.\n', args=[]),
withTransitGatewayRouteTableId(dataSrcLabel, value): {
data+: {
aws_ec2_transit_gateway_route_table_routes+: {
[dataSrcLabel]+: {
transit_gateway_route_table_id: value,
},
},
},
},
}
3 changes: 3 additions & 0 deletions 5.x/_gen/data/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
cloudwatch_log_groups: (import 'cloudwatch_log_groups.libsonnet'),
codeartifact_authorization_token: (import 'codeartifact_authorization_token.libsonnet'),
codeartifact_repository_endpoint: (import 'codeartifact_repository_endpoint.libsonnet'),
codecatalyst_dev_environment: (import 'codecatalyst_dev_environment.libsonnet'),
codecommit_approval_rule_template: (import 'codecommit_approval_rule_template.libsonnet'),
codecommit_repository: (import 'codecommit_repository.libsonnet'),
codestarconnections_connection: (import 'codestarconnections_connection.libsonnet'),
Expand Down Expand Up @@ -168,6 +169,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
ec2_transit_gateway_route_table: (import 'ec2_transit_gateway_route_table.libsonnet'),
ec2_transit_gateway_route_table_associations: (import 'ec2_transit_gateway_route_table_associations.libsonnet'),
ec2_transit_gateway_route_table_propagations: (import 'ec2_transit_gateway_route_table_propagations.libsonnet'),
ec2_transit_gateway_route_table_routes: (import 'ec2_transit_gateway_route_table_routes.libsonnet'),
ec2_transit_gateway_route_tables: (import 'ec2_transit_gateway_route_tables.libsonnet'),
ec2_transit_gateway_vpc_attachment: (import 'ec2_transit_gateway_vpc_attachment.libsonnet'),
ec2_transit_gateway_vpc_attachments: (import 'ec2_transit_gateway_vpc_attachments.libsonnet'),
Expand Down Expand Up @@ -317,6 +319,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
msk_cluster: (import 'msk_cluster.libsonnet'),
msk_configuration: (import 'msk_configuration.libsonnet'),
msk_kafka_version: (import 'msk_kafka_version.libsonnet'),
msk_vpc_connection: (import 'msk_vpc_connection.libsonnet'),
mskconnect_connector: (import 'mskconnect_connector.libsonnet'),
mskconnect_custom_plugin: (import 'mskconnect_custom_plugin.libsonnet'),
mskconnect_worker_configuration: (import 'mskconnect_worker_configuration.libsonnet'),
Expand Down
Loading