Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-hcp to v0.59.0 (#20)
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 Jun 5, 2023
1 parent 18a1de6 commit bad6fcb
Show file tree
Hide file tree
Showing 52 changed files with 1,016 additions and 65 deletions.
18 changes: 16 additions & 2 deletions 0.x/_gen/data/aws_network_peering.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ 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='aws_network_peering', url='', help='`aws_network_peering` represents the `hcp_aws_network_peering` Terraform data source.\n\nThe AWS network peering data source provides information about an existing network peering between an HVN and a peer AWS VPC.\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`hcp.data.aws_network_peering.new` injects a new `data_hcp_aws_network_peering` 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 hcp.data.aws_network_peering.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.aws_network_peering` using the reference:\n\n $._ref.data_hcp_aws_network_peering.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_aws_network_peering.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `peering_id` (`string`): The ID of the network peering.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source 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 [hcp.data.aws_network_peering.timeouts.new](#fn-timeoutsnew) 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`hcp.data.aws_network_peering.new` injects a new `data_hcp_aws_network_peering` 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 hcp.data.aws_network_peering.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.aws_network_peering` using the reference:\n\n $._ref.data_hcp_aws_network_peering.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_aws_network_peering.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `peering_id` (`string`): The ID of the network peering.\n - `project_id` (`string`): The ID of the HCP project where the network peering is located. Always matches the HVN\u0026#39;s project. When `null`, the `project_id` field will be omitted from the resulting object.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source 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 [hcp.data.aws_network_peering.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
hvn_id,
peering_id,
project_id=null,
timeouts=null,
wait_for_active_state=null,
_meta={}
Expand All @@ -16,20 +17,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
attrs=self.newAttrs(
hvn_id=hvn_id,
peering_id=peering_id,
project_id=project_id,
timeouts=timeouts,
wait_for_active_state=wait_for_active_state
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`hcp.data.aws_network_peering.newAttrs` constructs a new object with attributes and blocks configured for the `aws_network_peering`\nTerraform data source.\n\nUnlike [hcp.data.aws_network_peering.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `peering_id` (`string`): The ID of the network peering.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` 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 [hcp.data.aws_network_peering.timeouts.new](#fn-timeoutsnew) 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 `aws_network_peering` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`hcp.data.aws_network_peering.newAttrs` constructs a new object with attributes and blocks configured for the `aws_network_peering`\nTerraform data source.\n\nUnlike [hcp.data.aws_network_peering.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `peering_id` (`string`): The ID of the network peering.\n - `project_id` (`string`): The ID of the HCP project where the network peering is located. Always matches the HVN&#39;s project. When `null`, the `project_id` field will be omitted from the resulting object.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` 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 [hcp.data.aws_network_peering.timeouts.new](#fn-timeoutsnew) 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 `aws_network_peering` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
hvn_id,
peering_id,
project_id=null,
timeouts=null,
wait_for_active_state=null
):: std.prune(a={
hvn_id: hvn_id,
peering_id: peering_id,
project_id: project_id,
timeouts: timeouts,
wait_for_active_state: wait_for_active_state,
}),
Expand Down Expand Up @@ -61,6 +65,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
},
'#withProjectId':: d.fn(help='`hcp.string.withProjectId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project_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 `project_id` field.\n', args=[]),
withProjectId(dataSrcLabel, value): {
data+: {
hcp_aws_network_peering+: {
[dataSrcLabel]+: {
project_id: value,
},
},
},
},
'#withTimeouts':: d.fn(help='`hcp.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source 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 [hcp.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]),
withTimeouts(dataSrcLabel, value): {
data+: {
Expand Down
18 changes: 16 additions & 2 deletions 0.x/_gen/data/aws_transit_gateway_attachment.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ 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='aws_transit_gateway_attachment', url='', help='`aws_transit_gateway_attachment` represents the `hcp_aws_transit_gateway_attachment` Terraform data source.\n\nThe AWS transit gateway attachment data source provides information about an existing transit gateway attachment.\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`hcp.data.aws_transit_gateway_attachment.new` injects a new `data_hcp_aws_transit_gateway_attachment` 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 hcp.data.aws_transit_gateway_attachment.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.aws_transit_gateway_attachment` using the reference:\n\n $._ref.data_hcp_aws_transit_gateway_attachment.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_aws_transit_gateway_attachment.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `transit_gateway_attachment_id` (`string`): The user-settable name of the transit gateway attachment in HCP.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source 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 [hcp.data.aws_transit_gateway_attachment.timeouts.new](#fn-timeoutsnew) 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`hcp.data.aws_transit_gateway_attachment.new` injects a new `data_hcp_aws_transit_gateway_attachment` 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 hcp.data.aws_transit_gateway_attachment.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.aws_transit_gateway_attachment` using the reference:\n\n $._ref.data_hcp_aws_transit_gateway_attachment.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_aws_transit_gateway_attachment.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `project_id` (`string`): The ID of the HCP project where the transit gateway attachment is located. When `null`, the `project_id` field will be omitted from the resulting object.\n - `transit_gateway_attachment_id` (`string`): The user-settable name of the transit gateway attachment in HCP.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source 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 [hcp.data.aws_transit_gateway_attachment.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
hvn_id,
transit_gateway_attachment_id,
project_id=null,
timeouts=null,
wait_for_active_state=null,
_meta={}
Expand All @@ -15,20 +16,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
label=dataSrcLabel,
attrs=self.newAttrs(
hvn_id=hvn_id,
project_id=project_id,
timeouts=timeouts,
transit_gateway_attachment_id=transit_gateway_attachment_id,
wait_for_active_state=wait_for_active_state
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`hcp.data.aws_transit_gateway_attachment.newAttrs` constructs a new object with attributes and blocks configured for the `aws_transit_gateway_attachment`\nTerraform data source.\n\nUnlike [hcp.data.aws_transit_gateway_attachment.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `transit_gateway_attachment_id` (`string`): The user-settable name of the transit gateway attachment in HCP.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` 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 [hcp.data.aws_transit_gateway_attachment.timeouts.new](#fn-timeoutsnew) 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 `aws_transit_gateway_attachment` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`hcp.data.aws_transit_gateway_attachment.newAttrs` constructs a new object with attributes and blocks configured for the `aws_transit_gateway_attachment`\nTerraform data source.\n\nUnlike [hcp.data.aws_transit_gateway_attachment.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 - `hvn_id` (`string`): The ID of the HashiCorp Virtual Network (HVN).\n - `project_id` (`string`): The ID of the HCP project where the transit gateway attachment is located. When `null`, the `project_id` field will be omitted from the resulting object.\n - `transit_gateway_attachment_id` (`string`): The user-settable name of the transit gateway attachment in HCP.\n - `wait_for_active_state` (`bool`): If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`. When `null`, the `wait_for_active_state` 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 [hcp.data.aws_transit_gateway_attachment.timeouts.new](#fn-timeoutsnew) 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 `aws_transit_gateway_attachment` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
hvn_id,
transit_gateway_attachment_id,
project_id=null,
timeouts=null,
wait_for_active_state=null
):: std.prune(a={
hvn_id: hvn_id,
project_id: project_id,
timeouts: timeouts,
transit_gateway_attachment_id: transit_gateway_attachment_id,
wait_for_active_state: wait_for_active_state,
Expand All @@ -51,6 +55,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
},
'#withProjectId':: d.fn(help='`hcp.string.withProjectId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project_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 `project_id` field.\n', args=[]),
withProjectId(dataSrcLabel, value): {
data+: {
hcp_aws_transit_gateway_attachment+: {
[dataSrcLabel]+: {
project_id: value,
},
},
},
},
'#withTimeouts':: d.fn(help='`hcp.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform data source 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 [hcp.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]),
withTimeouts(dataSrcLabel, value): {
data+: {
Expand Down
Loading

0 comments on commit bad6fcb

Please sign in to comment.