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-null to v3.2.2 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion 3.x/_gen/data/data_source.libsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,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='data_source', url='', help='`data_source` represents the `null_data_source` Terraform data source.\n\nThe `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#':: d.pkg(name='data_source', url='', help='`data_source` represents the `null_data_source` Terraform data source.\n\nThe `null_data_source` data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using [locals](https://developer.hashicorp.com/terraform/language/values/locals) or the [terraform_data resource type](https://developer.hashicorp.com/terraform/language/resources/terraform-data) in Terraform 1.4 and later.\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`null.data.data_source.new` injects a new `data_null_data_source` 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 null.data.data_source.new('some_id')\n\nYou can get the reference to the `id` field of the created `null.data.data_source` using the reference:\n\n $._ref.data_null_data_source.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_null_data_source.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 - `has_computed_default` (`string`): If set, its literal value will be stored and returned. If not, its value defaults to `\u0026#34;default\u0026#34;`. This argument exists primarily for testing and has little practical use. When `null`, the `has_computed_default` field will be omitted from the resulting object.\n - `inputs` (`obj`): A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation. When `null`, the `inputs` 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,
Expand Down
2 changes: 1 addition & 1 deletion 3.x/_gen/resources/resource.libsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,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='resource', url='', help='`resource` represents the `null_resource` Terraform resource.\n\nThe `null_resource` resource implements the standard resource lifecycle but takes no further action.\n\nThe `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#':: d.pkg(name='resource', url='', help='`resource` represents the `null_resource` Terraform resource.\n\nThe `null_resource` resource implements the standard resource lifecycle but takes no further action. On Terraform 1.4 and later, use the [terraform_data resource type](https://developer.hashicorp.com/terraform/language/resources/terraform-data) instead.\n\nThe `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#new':: d.fn(help="\n`null.resource.new` injects a new `null_resource` 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 null.resource.new('some_id')\n\nYou can get the reference to the `id` field of the created `null.resource` using the reference:\n\n $._ref.null_resource.some_id.get('id')\n\nThis is the same as directly entering `\"${ null_resource.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 - `triggers` (`obj`): A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners. When `null`, the `triggers` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
new(
resourceLabel,
Expand Down
3 changes: 1 addition & 2 deletions docs/3.x/data/data_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ The `null_data_source` data source implements the standard data source lifecycle
interact with any external APIs.

Historically, the `null_data_source` was typically used to construct intermediate values to re-use elsewhere in configuration. The
same can now be achieved using [locals](https://www.terraform.io/docs/language/values/locals.html).

same can now be achieved using [locals](https://developer.hashicorp.com/terraform/language/values/locals) or the [terraform_data resource type](https://developer.hashicorp.com/terraform/language/resources/terraform-data) in Terraform 1.4 and later.

This package contains functions and utilities for setting up the data source using Jsonnet code.

Expand Down
2 changes: 1 addition & 1 deletion docs/3.x/resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: /resource/

`resource` represents the `null_resource` Terraform resource.

The `null_resource` resource implements the standard resource lifecycle but takes no further action.
The `null_resource` resource implements the standard resource lifecycle but takes no further action. On Terraform 1.4 and later, use the [terraform_data resource type](https://developer.hashicorp.com/terraform/language/resources/terraform-data) instead.

The `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.

Expand Down