From 1f4df6d10d99d7d7ee6881d70cbef087a4ab3202 Mon Sep 17 00:00:00 2001 From: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> Date: Fri, 3 Feb 2023 09:49:32 -0600 Subject: [PATCH] Update dependency hashicorp/terraform-provider-aws to v4.53.0 (#23) Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> Co-authored-by: renovate[bot] --- 4.x/_gen/resources/vpc_ipam_pool.libsonnet | 18 ++++++++++++++++-- .../resources/vpc_ipam_pool_cidr.libsonnet | 18 ++++++++++++++++-- docs/4.x/vpc_ipam_pool.md | 19 +++++++++++++++++++ docs/4.x/vpc_ipam_pool_cidr.md | 19 +++++++++++++++++++ 4 files changed, 70 insertions(+), 4 deletions(-) diff --git a/4.x/_gen/resources/vpc_ipam_pool.libsonnet b/4.x/_gen/resources/vpc_ipam_pool.libsonnet index a242e903..5bf441df 100644 --- a/4.x/_gen/resources/vpc_ipam_pool.libsonnet +++ b/4.x/_gen/resources/vpc_ipam_pool.libsonnet @@ -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='vpc_ipam_pool', url='', help='`vpc_ipam_pool` represents the `aws_vpc_ipam_pool` 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`aws.vpc_ipam_pool.new` injects a new `aws_vpc_ipam_pool` 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 aws.vpc_ipam_pool.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.vpc_ipam_pool` using the reference:\n\n $._ref.aws_vpc_ipam_pool.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_vpc_ipam_pool.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 - `address_family` (`string`): Set the `address_family` field on the resulting resource block.\n - `allocation_default_netmask_length` (`number`): Set the `allocation_default_netmask_length` field on the resulting resource block. When `null`, the `allocation_default_netmask_length` field will be omitted from the resulting object.\n - `allocation_max_netmask_length` (`number`): Set the `allocation_max_netmask_length` field on the resulting resource block. When `null`, the `allocation_max_netmask_length` field will be omitted from the resulting object.\n - `allocation_min_netmask_length` (`number`): Set the `allocation_min_netmask_length` field on the resulting resource block. When `null`, the `allocation_min_netmask_length` field will be omitted from the resulting object.\n - `allocation_resource_tags` (`obj`): Set the `allocation_resource_tags` field on the resulting resource block. When `null`, the `allocation_resource_tags` field will be omitted from the resulting object.\n - `auto_import` (`bool`): Set the `auto_import` field on the resulting resource block. When `null`, the `auto_import` field will be omitted from the resulting object.\n - `aws_service` (`string`): Set the `aws_service` field on the resulting resource block. When `null`, the `aws_service` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting resource block.\n - `locale` (`string`): Set the `locale` field on the resulting resource block. When `null`, the `locale` field will be omitted from the resulting object.\n - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting resource block. When `null`, the `publicly_advertisable` field will be omitted from the resulting object.\n - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting resource block. When `null`, the `source_ipam_pool_id` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.vpc_ipam_pool.new` injects a new `aws_vpc_ipam_pool` 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 aws.vpc_ipam_pool.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.vpc_ipam_pool` using the reference:\n\n $._ref.aws_vpc_ipam_pool.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_vpc_ipam_pool.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 - `address_family` (`string`): Set the `address_family` field on the resulting resource block.\n - `allocation_default_netmask_length` (`number`): Set the `allocation_default_netmask_length` field on the resulting resource block. When `null`, the `allocation_default_netmask_length` field will be omitted from the resulting object.\n - `allocation_max_netmask_length` (`number`): Set the `allocation_max_netmask_length` field on the resulting resource block. When `null`, the `allocation_max_netmask_length` field will be omitted from the resulting object.\n - `allocation_min_netmask_length` (`number`): Set the `allocation_min_netmask_length` field on the resulting resource block. When `null`, the `allocation_min_netmask_length` field will be omitted from the resulting object.\n - `allocation_resource_tags` (`obj`): Set the `allocation_resource_tags` field on the resulting resource block. When `null`, the `allocation_resource_tags` field will be omitted from the resulting object.\n - `auto_import` (`bool`): Set the `auto_import` field on the resulting resource block. When `null`, the `auto_import` field will be omitted from the resulting object.\n - `aws_service` (`string`): Set the `aws_service` field on the resulting resource block. When `null`, the `aws_service` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting resource block.\n - `locale` (`string`): Set the `locale` field on the resulting resource block. When `null`, the `locale` field will be omitted from the resulting object.\n - `public_ip_source` (`string`): Set the `public_ip_source` field on the resulting resource block. When `null`, the `public_ip_source` field will be omitted from the resulting object.\n - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting resource block. When `null`, the `publicly_advertisable` field will be omitted from the resulting object.\n - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting resource block. When `null`, the `source_ipam_pool_id` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, address_family, @@ -15,6 +15,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); aws_service=null, description=null, locale=null, + public_ip_source=null, publicly_advertisable=null, source_ipam_pool_id=null, tags=null, @@ -35,6 +36,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description=description, ipam_scope_id=ipam_scope_id, locale=locale, + public_ip_source=public_ip_source, publicly_advertisable=publicly_advertisable, source_ipam_pool_id=source_ipam_pool_id, tags=tags, @@ -43,7 +45,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.vpc_ipam_pool.newAttrs` constructs a new object with attributes and blocks configured for the `vpc_ipam_pool`\nTerraform resource.\n\nUnlike [aws.vpc_ipam_pool.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 - `address_family` (`string`): Set the `address_family` field on the resulting object.\n - `allocation_default_netmask_length` (`number`): Set the `allocation_default_netmask_length` field on the resulting object. When `null`, the `allocation_default_netmask_length` field will be omitted from the resulting object.\n - `allocation_max_netmask_length` (`number`): Set the `allocation_max_netmask_length` field on the resulting object. When `null`, the `allocation_max_netmask_length` field will be omitted from the resulting object.\n - `allocation_min_netmask_length` (`number`): Set the `allocation_min_netmask_length` field on the resulting object. When `null`, the `allocation_min_netmask_length` field will be omitted from the resulting object.\n - `allocation_resource_tags` (`obj`): Set the `allocation_resource_tags` field on the resulting object. When `null`, the `allocation_resource_tags` field will be omitted from the resulting object.\n - `auto_import` (`bool`): Set the `auto_import` field on the resulting object. When `null`, the `auto_import` field will be omitted from the resulting object.\n - `aws_service` (`string`): Set the `aws_service` field on the resulting object. When `null`, the `aws_service` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting object.\n - `locale` (`string`): Set the `locale` field on the resulting object. When `null`, the `locale` field will be omitted from the resulting object.\n - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting object. When `null`, the `publicly_advertisable` field will be omitted from the resulting object.\n - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting object. When `null`, the `source_ipam_pool_id` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool.timeouts.new](#fn-timeoutsnew) constructor.\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 `vpc_ipam_pool` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.vpc_ipam_pool.newAttrs` constructs a new object with attributes and blocks configured for the `vpc_ipam_pool`\nTerraform resource.\n\nUnlike [aws.vpc_ipam_pool.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 - `address_family` (`string`): Set the `address_family` field on the resulting object.\n - `allocation_default_netmask_length` (`number`): Set the `allocation_default_netmask_length` field on the resulting object. When `null`, the `allocation_default_netmask_length` field will be omitted from the resulting object.\n - `allocation_max_netmask_length` (`number`): Set the `allocation_max_netmask_length` field on the resulting object. When `null`, the `allocation_max_netmask_length` field will be omitted from the resulting object.\n - `allocation_min_netmask_length` (`number`): Set the `allocation_min_netmask_length` field on the resulting object. When `null`, the `allocation_min_netmask_length` field will be omitted from the resulting object.\n - `allocation_resource_tags` (`obj`): Set the `allocation_resource_tags` field on the resulting object. When `null`, the `allocation_resource_tags` field will be omitted from the resulting object.\n - `auto_import` (`bool`): Set the `auto_import` field on the resulting object. When `null`, the `auto_import` field will be omitted from the resulting object.\n - `aws_service` (`string`): Set the `aws_service` field on the resulting object. When `null`, the `aws_service` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting object.\n - `locale` (`string`): Set the `locale` field on the resulting object. When `null`, the `locale` field will be omitted from the resulting object.\n - `public_ip_source` (`string`): Set the `public_ip_source` field on the resulting object. When `null`, the `public_ip_source` field will be omitted from the resulting object.\n - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting object. When `null`, the `publicly_advertisable` field will be omitted from the resulting object.\n - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting object. When `null`, the `source_ipam_pool_id` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool.timeouts.new](#fn-timeoutsnew) constructor.\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 `vpc_ipam_pool` resource into the root Terraform configuration.\n', args=[]), newAttrs( address_family, ipam_scope_id, @@ -55,6 +57,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); aws_service=null, description=null, locale=null, + public_ip_source=null, publicly_advertisable=null, source_ipam_pool_id=null, tags=null, @@ -71,6 +74,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description: description, ipam_scope_id: ipam_scope_id, locale: locale, + public_ip_source: public_ip_source, publicly_advertisable: publicly_advertisable, source_ipam_pool_id: source_ipam_pool_id, tags: tags, @@ -189,6 +193,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPublicIpSource':: d.fn(help='`aws.string.withPublicIpSource` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the public_ip_source 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_ip_source` field.\n', args=[]), + withPublicIpSource(resourceLabel, value): { + resource+: { + aws_vpc_ipam_pool+: { + [resourceLabel]+: { + public_ip_source: value, + }, + }, + }, + }, '#withPubliclyAdvertisable':: d.fn(help='`aws.bool.withPubliclyAdvertisable` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the publicly_advertisable field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `publicly_advertisable` field.\n', args=[]), withPubliclyAdvertisable(resourceLabel, value): { resource+: { diff --git a/4.x/_gen/resources/vpc_ipam_pool_cidr.libsonnet b/4.x/_gen/resources/vpc_ipam_pool_cidr.libsonnet index 2d74779e..a96f6a91 100644 --- a/4.x/_gen/resources/vpc_ipam_pool_cidr.libsonnet +++ b/4.x/_gen/resources/vpc_ipam_pool_cidr.libsonnet @@ -12,12 +12,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); signature: signature, }), }, - '#new':: d.fn(help="\n`aws.vpc_ipam_pool_cidr.new` injects a new `aws_vpc_ipam_pool_cidr` 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 aws.vpc_ipam_pool_cidr.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.vpc_ipam_pool_cidr` using the reference:\n\n $._ref.aws_vpc_ipam_pool_cidr.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_vpc_ipam_pool_cidr.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 - `cidr` (`string`): Set the `cidr` field on the resulting resource block. When `null`, the `cidr` field will be omitted from the resulting object.\n - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting resource block.\n - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting resource block. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.vpc_ipam_pool_cidr.new` injects a new `aws_vpc_ipam_pool_cidr` 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 aws.vpc_ipam_pool_cidr.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.vpc_ipam_pool_cidr` using the reference:\n\n $._ref.aws_vpc_ipam_pool_cidr.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_vpc_ipam_pool_cidr.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 - `cidr` (`string`): Set the `cidr` field on the resulting resource block. When `null`, the `cidr` field will be omitted from the resulting object.\n - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting resource block.\n - `netmask_length` (`number`): Set the `netmask_length` field on the resulting resource block. When `null`, the `netmask_length` field will be omitted from the resulting object.\n - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting resource block. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, ipam_pool_id, cidr=null, cidr_authorization_context=null, + netmask_length=null, timeouts=null, _meta={} ):: tf.withResource( @@ -27,20 +28,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cidr=cidr, cidr_authorization_context=cidr_authorization_context, ipam_pool_id=ipam_pool_id, + netmask_length=netmask_length, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.vpc_ipam_pool_cidr.newAttrs` constructs a new object with attributes and blocks configured for the `vpc_ipam_pool_cidr`\nTerraform resource.\n\nUnlike [aws.vpc_ipam_pool_cidr.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 - `cidr` (`string`): Set the `cidr` field on the resulting object. When `null`, the `cidr` field will be omitted from the resulting object.\n - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting object.\n - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting object. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor.\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 `vpc_ipam_pool_cidr` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.vpc_ipam_pool_cidr.newAttrs` constructs a new object with attributes and blocks configured for the `vpc_ipam_pool_cidr`\nTerraform resource.\n\nUnlike [aws.vpc_ipam_pool_cidr.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 - `cidr` (`string`): Set the `cidr` field on the resulting object. When `null`, the `cidr` field will be omitted from the resulting object.\n - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting object.\n - `netmask_length` (`number`): Set the `netmask_length` field on the resulting object. When `null`, the `netmask_length` field will be omitted from the resulting object.\n - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting object. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor.\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 `vpc_ipam_pool_cidr` resource into the root Terraform configuration.\n', args=[]), newAttrs( ipam_pool_id, cidr=null, cidr_authorization_context=null, + netmask_length=null, timeouts=null ):: std.prune(a={ cidr: cidr, cidr_authorization_context: cidr_authorization_context, ipam_pool_id: ipam_pool_id, + netmask_length: netmask_length, timeouts: timeouts, }), timeouts:: { @@ -93,6 +97,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withNetmaskLength':: d.fn(help='`aws.number.withNetmaskLength` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the netmask_length 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 `netmask_length` field.\n', args=[]), + withNetmaskLength(resourceLabel, value): { + resource+: { + aws_vpc_ipam_pool_cidr+: { + [resourceLabel]+: { + netmask_length: value, + }, + }, + }, + }, '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), withTimeouts(resourceLabel, value): { resource+: { diff --git a/docs/4.x/vpc_ipam_pool.md b/docs/4.x/vpc_ipam_pool.md index a8686cb9..5c1f171b 100644 --- a/docs/4.x/vpc_ipam_pool.md +++ b/docs/4.x/vpc_ipam_pool.md @@ -25,6 +25,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withDescription()`](#fn-withdescription) * [`fn withIpamScopeId()`](#fn-withipamscopeid) * [`fn withLocale()`](#fn-withlocale) +* [`fn withPublicIpSource()`](#fn-withpublicipsource) * [`fn withPubliclyAdvertisable()`](#fn-withpubliclyadvertisable) * [`fn withSourceIpamPoolId()`](#fn-withsourceipampoolid) * [`fn withTags()`](#fn-withtags) @@ -73,6 +74,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting resource block. - `locale` (`string`): Set the `locale` field on the resulting resource block. When `null`, the `locale` field will be omitted from the resulting object. + - `public_ip_source` (`string`): Set the `public_ip_source` field on the resulting resource block. When `null`, the `public_ip_source` field will be omitted from the resulting object. - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting resource block. When `null`, the `publicly_advertisable` field will be omitted from the resulting object. - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting resource block. When `null`, the `source_ipam_pool_id` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. @@ -111,6 +113,7 @@ injecting into a complete block. - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. - `ipam_scope_id` (`string`): Set the `ipam_scope_id` field on the resulting object. - `locale` (`string`): Set the `locale` field on the resulting object. When `null`, the `locale` field will be omitted from the resulting object. + - `public_ip_source` (`string`): Set the `public_ip_source` field on the resulting object. When `null`, the `public_ip_source` field will be omitted from the resulting object. - `publicly_advertisable` (`bool`): Set the `publicly_advertisable` field on the resulting object. When `null`, the `publicly_advertisable` field will be omitted from the resulting object. - `source_ipam_pool_id` (`string`): Set the `source_ipam_pool_id` field on the resulting object. When `null`, the `source_ipam_pool_id` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. @@ -281,6 +284,22 @@ Terraform resource block to set or update the locale field. - `value` (`string`): The value to set for the `locale` field. +### fn withPublicIpSource + +```ts +withPublicIpSource() +``` + +`aws.string.withPublicIpSource` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the public_ip_source field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `public_ip_source` field. + + ### fn withPubliclyAdvertisable ```ts diff --git a/docs/4.x/vpc_ipam_pool_cidr.md b/docs/4.x/vpc_ipam_pool_cidr.md index 09dd7fe7..74528bfb 100644 --- a/docs/4.x/vpc_ipam_pool_cidr.md +++ b/docs/4.x/vpc_ipam_pool_cidr.md @@ -19,6 +19,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withCidrAuthorizationContext()`](#fn-withcidrauthorizationcontext) * [`fn withCidrAuthorizationContextMixin()`](#fn-withcidrauthorizationcontextmixin) * [`fn withIpamPoolId()`](#fn-withipampoolid) +* [`fn withNetmaskLength()`](#fn-withnetmasklength) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`obj cidr_authorization_context`](#obj-cidr_authorization_context) @@ -57,6 +58,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resourceLabel` (`string`): The name label of the block. - `cidr` (`string`): Set the `cidr` field on the resulting resource block. When `null`, the `cidr` field will be omitted from the resulting object. - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting resource block. + - `netmask_length` (`number`): Set the `netmask_length` field on the resulting resource block. When `null`, the `netmask_length` field will be omitted from the resulting object. - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting resource block. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor. @@ -84,6 +86,7 @@ injecting into a complete block. **Args**: - `cidr` (`string`): Set the `cidr` field on the resulting object. When `null`, the `cidr` field will be omitted from the resulting object. - `ipam_pool_id` (`string`): Set the `ipam_pool_id` field on the resulting object. + - `netmask_length` (`number`): Set the `netmask_length` field on the resulting object. When `null`, the `netmask_length` field will be omitted from the resulting object. - `cidr_authorization_context` (`list[obj]`): Set the `cidr_authorization_context` field on the resulting object. When `null`, the `cidr_authorization_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.cidr_authorization_context.new](#fn-cidr_authorization_contextnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.vpc_ipam_pool_cidr.timeouts.new](#fn-timeoutsnew) constructor. @@ -160,6 +163,22 @@ Terraform resource block to set or update the ipam_pool_id field. - `value` (`string`): The value to set for the `ipam_pool_id` field. +### fn withNetmaskLength + +```ts +withNetmaskLength() +``` + +`aws.number.withNetmaskLength` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the netmask_length field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `netmask_length` field. + + ### fn withTimeouts ```ts