Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-hcp to v0.70.0 (#24)
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] committed Sep 19, 2023
1 parent 810bfad commit 51834a4
Show file tree
Hide file tree
Showing 12 changed files with 726 additions and 15 deletions.
1 change: 1 addition & 0 deletions 0.x/_gen/data/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
packer_iteration: (import 'packer_iteration.libsonnet'),
packer_run_task: (import 'packer_run_task.libsonnet'),
vault_cluster: (import 'vault_cluster.libsonnet'),
vault_plugin: (import 'vault_plugin.libsonnet'),
vault_secrets_app: (import 'vault_secrets_app.libsonnet'),
}
6 changes: 3 additions & 3 deletions 0.x/_gen/data/packer_image.libsonnet
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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='packer_image', url='', help='`packer_image` represents the `hcp_packer_image` Terraform data source.\n\nThe Packer Image data source iteration gets the most recent iteration (or build) of an image, given an iteration id or a channel.\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`hcp.data.packer_image.new` injects a new `data_hcp_packer_image` 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.packer_image.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.packer_image` using the reference:\n\n $._ref.data_hcp_packer_image.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_packer_image.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 - `bucket_name` (`string`): The slug of the HCP Packer Registry bucket to pull from.\n - `channel` (`string`): The channel that points to the version of the image being retrieved. Either this or `iteration_id` must be specified. Note: will incur a billable request When `null`, the `channel` field will be omitted from the resulting object.\n - `cloud_provider` (`string`): Name of the cloud provider this image is stored-in.\n - `component_type` (`string`): Name of the builder that built this image. Ex: `amazon-ebs.example`. When `null`, the `component_type` field will be omitted from the resulting object.\n - `iteration_id` (`string`): The iteration from which to get the image. Either this or `channel` must be specified. When `null`, the `iteration_id` field will be omitted from the resulting object.\n - `project_id` (`string`): \nThe ID of the HCP project where the HCP Packer Registry image is located.\nIf not specified, the project specified in the HCP Provider config block will be used, if configured.\nIf a project is not configured in the HCP Provider config block, the oldest project in the organization will be used. When `null`, the `project_id` field will be omitted from the resulting object.\n - `region` (`string`): Region this image is stored in, if any.\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.packer_image.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=[]),
'#':: d.pkg(name='packer_image', url='', help='`packer_image` represents the `hcp_packer_image` Terraform data source.\n\nThe Packer Image data source gets an image associated with an iteration, either from a specific iteration or from the iteration assigned to a given Channel.\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`hcp.data.packer_image.new` injects a new `data_hcp_packer_image` 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.packer_image.new('some_id')\n\nYou can get the reference to the `id` field of the created `hcp.data.packer_image` using the reference:\n\n $._ref.data_hcp_packer_image.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_hcp_packer_image.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 - `bucket_name` (`string`): The slug of the HCP Packer Registry bucket where this image is located.\n - `channel` (`string`): The channel that points to the version of the image being retrieved. Either this or `iteration_id` must be specified. Note: will incur a billable request When `null`, the `channel` field will be omitted from the resulting object.\n - `cloud_provider` (`string`): Name of the cloud provider where this image is stored.\n - `component_type` (`string`): Name of the builder that built this image. Ex: `amazon-ebs.example`. When `null`, the `component_type` field will be omitted from the resulting object.\n - `iteration_id` (`string`): The iteration from which to get the image. Either this or `channel` must be specified. When `null`, the `iteration_id` field will be omitted from the resulting object.\n - `project_id` (`string`): \nThe ID of the HCP project where the HCP Packer Registry image is located.\nIf not specified, the project specified in the HCP Provider config block will be used, if configured.\nIf a project is not configured in the HCP Provider config block, the oldest project in the organization will be used. When `null`, the `project_id` field will be omitted from the resulting object.\n - `region` (`string`): The Region where this image is stored, if any.\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.packer_image.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,
bucket_name,
Expand All @@ -29,7 +29,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`hcp.data.packer_image.newAttrs` constructs a new object with attributes and blocks configured for the `packer_image`\nTerraform data source.\n\nUnlike [hcp.data.packer_image.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 - `bucket_name` (`string`): The slug of the HCP Packer Registry bucket to pull from.\n - `channel` (`string`): The channel that points to the version of the image being retrieved. Either this or `iteration_id` must be specified. Note: will incur a billable request When `null`, the `channel` field will be omitted from the resulting object.\n - `cloud_provider` (`string`): Name of the cloud provider this image is stored-in.\n - `component_type` (`string`): Name of the builder that built this image. Ex: `amazon-ebs.example`. When `null`, the `component_type` field will be omitted from the resulting object.\n - `iteration_id` (`string`): The iteration from which to get the image. Either this or `channel` must be specified. When `null`, the `iteration_id` field will be omitted from the resulting object.\n - `project_id` (`string`): \nThe ID of the HCP project where the HCP Packer Registry image is located.\nIf not specified, the project specified in the HCP Provider config block will be used, if configured.\nIf a project is not configured in the HCP Provider config block, the oldest project in the organization will be used. When `null`, the `project_id` field will be omitted from the resulting object.\n - `region` (`string`): Region this image is stored in, if any.\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.packer_image.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 `packer_image` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`hcp.data.packer_image.newAttrs` constructs a new object with attributes and blocks configured for the `packer_image`\nTerraform data source.\n\nUnlike [hcp.data.packer_image.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 - `bucket_name` (`string`): The slug of the HCP Packer Registry bucket where this image is located.\n - `channel` (`string`): The channel that points to the version of the image being retrieved. Either this or `iteration_id` must be specified. Note: will incur a billable request When `null`, the `channel` field will be omitted from the resulting object.\n - `cloud_provider` (`string`): Name of the cloud provider where this image is stored.\n - `component_type` (`string`): Name of the builder that built this image. Ex: `amazon-ebs.example`. When `null`, the `component_type` field will be omitted from the resulting object.\n - `iteration_id` (`string`): The iteration from which to get the image. Either this or `channel` must be specified. When `null`, the `iteration_id` field will be omitted from the resulting object.\n - `project_id` (`string`): \nThe ID of the HCP project where the HCP Packer Registry image is located.\nIf not specified, the project specified in the HCP Provider config block will be used, if configured.\nIf a project is not configured in the HCP Provider config block, the oldest project in the organization will be used. When `null`, the `project_id` field will be omitted from the resulting object.\n - `region` (`string`): The Region where this image is stored, if any.\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.packer_image.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 `packer_image` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
bucket_name,
cloud_provider,
Expand Down
Loading

0 comments on commit 51834a4

Please sign in to comment.