'#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=[]),
0 commit comments