Skip to content

Commit 7f5f0bf

Browse files
Update dependency hashicorp/terraform-provider-google to v4.64.0 (#31)
Signed-off-by: tflibsonnet-ci <[email protected]> Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
1 parent 6b10fee commit 7f5f0bf

File tree

142 files changed

+5873
-1058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+5873
-1058
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
2+
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
3+
{
4+
'#':: d.pkg(name='alloydb_locations', url='', help='`alloydb_locations` represents the `google_alloydb_locations` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
5+
'#new':: d.fn(help="\n`google.data.alloydb_locations.new` injects a new `data_google_alloydb_locations` 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 google.data.alloydb_locations.new('some_id')\n\nYou can get the reference to the `id` field of the created `google.data.alloydb_locations` using the reference:\n\n $._ref.data_google_alloydb_locations.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_google_alloydb_locations.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 - `project` (`string`): Project ID of the project. When `null`, the `project` 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=[]),
6+
new(
7+
dataSrcLabel,
8+
project=null,
9+
_meta={}
10+
):: tf.withData(
11+
type='google_alloydb_locations',
12+
label=dataSrcLabel,
13+
attrs=self.newAttrs(project=project),
14+
_meta=_meta
15+
),
16+
'#newAttrs':: d.fn(help='\n`google.data.alloydb_locations.newAttrs` constructs a new object with attributes and blocks configured for the `alloydb_locations`\nTerraform data source.\n\nUnlike [google.data.alloydb_locations.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 - `project` (`string`): Project ID of the project. When `null`, the `project` field will be omitted from the resulting object.\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 `alloydb_locations` data source into the root Terraform configuration.\n', args=[]),
17+
newAttrs(
18+
project=null
19+
):: std.prune(a={
20+
project: project,
21+
}),
22+
'#withProject':: d.fn(help='`google.string.withProject` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project 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` field.\n', args=[]),
23+
withProject(dataSrcLabel, value): {
24+
data+: {
25+
google_alloydb_locations+: {
26+
[dataSrcLabel]+: {
27+
project: value,
28+
},
29+
},
30+
},
31+
},
32+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
2+
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
3+
{
4+
'#':: d.pkg(name='alloydb_supported_database_flags', url='', help='`alloydb_supported_database_flags` represents the `google_alloydb_supported_database_flags` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
5+
'#new':: d.fn(help="\n`google.data.alloydb_supported_database_flags.new` injects a new `data_google_alloydb_supported_database_flags` 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 google.data.alloydb_supported_database_flags.new('some_id')\n\nYou can get the reference to the `id` field of the created `google.data.alloydb_supported_database_flags` using the reference:\n\n $._ref.data_google_alloydb_supported_database_flags.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_google_alloydb_supported_database_flags.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 - `location` (`string`): The canonical id for the location. For example: \u0026#34;us-east1\u0026#34;.\n - `project` (`string`): Project ID of the project. When `null`, the `project` 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=[]),
6+
new(
7+
dataSrcLabel,
8+
location,
9+
project=null,
10+
_meta={}
11+
):: tf.withData(
12+
type='google_alloydb_supported_database_flags',
13+
label=dataSrcLabel,
14+
attrs=self.newAttrs(location=location, project=project),
15+
_meta=_meta
16+
),
17+
'#newAttrs':: d.fn(help='\n`google.data.alloydb_supported_database_flags.newAttrs` constructs a new object with attributes and blocks configured for the `alloydb_supported_database_flags`\nTerraform data source.\n\nUnlike [google.data.alloydb_supported_database_flags.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 - `location` (`string`): The canonical id for the location. For example: &#34;us-east1&#34;.\n - `project` (`string`): Project ID of the project. When `null`, the `project` field will be omitted from the resulting object.\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 `alloydb_supported_database_flags` data source into the root Terraform configuration.\n', args=[]),
18+
newAttrs(
19+
location,
20+
project=null
21+
):: std.prune(a={
22+
location: location,
23+
project: project,
24+
}),
25+
'#withLocation':: d.fn(help='`google.string.withLocation` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the location 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 `location` field.\n', args=[]),
26+
withLocation(dataSrcLabel, value): {
27+
data+: {
28+
google_alloydb_supported_database_flags+: {
29+
[dataSrcLabel]+: {
30+
location: value,
31+
},
32+
},
33+
},
34+
},
35+
'#withProject':: d.fn(help='`google.string.withProject` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project 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` field.\n', args=[]),
36+
withProject(dataSrcLabel, value): {
37+
data+: {
38+
google_alloydb_supported_database_flags+: {
39+
[dataSrcLabel]+: {
40+
project: value,
41+
},
42+
},
43+
},
44+
},
45+
}

4.x/_gen/data/compute_forwarding_rule.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
22
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
33
{
44
'#':: d.pkg(name='compute_forwarding_rule', url='', help='`compute_forwarding_rule` represents the `google_compute_forwarding_rule` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
5-
'#new':: d.fn(help="\n`google.data.compute_forwarding_rule.new` injects a new `data_google_compute_forwarding_rule` 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 google.data.compute_forwarding_rule.new('some_id')\n\nYou can get the reference to the `id` field of the created `google.data.compute_forwarding_rule` using the reference:\n\n $._ref.data_google_compute_forwarding_rule.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_google_compute_forwarding_rule.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 - `name` (`string`): Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.\n - `project` (`string`): The project this resource belongs in. When `null`, the `project` field will be omitted from the resulting object.\n - `region` (`string`): The location of this resource. When `null`, the `region` 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=[]),
5+
'#new':: d.fn(help="\n`google.data.compute_forwarding_rule.new` injects a new `data_google_compute_forwarding_rule` 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 google.data.compute_forwarding_rule.new('some_id')\n\nYou can get the reference to the `id` field of the created `google.data.compute_forwarding_rule` using the reference:\n\n $._ref.data_google_compute_forwarding_rule.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_google_compute_forwarding_rule.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 - `name` (`string`): Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply with\n[RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression \u0026#39;[a-z]([-a-z0-9]*[a-z0-9])?\u0026#39; which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\nFor Private Service Connect forwarding rules that forward traffic to Google\nAPIs, the forwarding rule name must be a 1-20 characters string with\nlowercase letters and numbers and must start with a letter.\n - `project` (`string`): Set the `project` field on the resulting data source block. When `null`, the `project` field will be omitted from the resulting object.\n - `region` (`string`): A reference to the region where the regional forwarding rule resides.\n\nThis field is not applicable to global forwarding rules. When `null`, the `region` 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=[]),
66
new(
77
dataSrcLabel,
88
name,
@@ -15,7 +15,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
1515
attrs=self.newAttrs(name=name, project=project, region=region),
1616
_meta=_meta
1717
),
18-
'#newAttrs':: d.fn(help='\n`google.data.compute_forwarding_rule.newAttrs` constructs a new object with attributes and blocks configured for the `compute_forwarding_rule`\nTerraform data source.\n\nUnlike [google.data.compute_forwarding_rule.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 - `name` (`string`): Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.\n - `project` (`string`): The project this resource belongs in. When `null`, the `project` field will be omitted from the resulting object.\n - `region` (`string`): The location of this resource. When `null`, the `region` field will be omitted from the resulting object.\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 `compute_forwarding_rule` data source into the root Terraform configuration.\n', args=[]),
18+
'#newAttrs':: d.fn(help='\n`google.data.compute_forwarding_rule.newAttrs` constructs a new object with attributes and blocks configured for the `compute_forwarding_rule`\nTerraform data source.\n\nUnlike [google.data.compute_forwarding_rule.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 - `name` (`string`): Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply with\n[RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression &#39;[a-z]([-a-z0-9]*[a-z0-9])?&#39; which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\nFor Private Service Connect forwarding rules that forward traffic to Google\nAPIs, the forwarding rule name must be a 1-20 characters string with\nlowercase letters and numbers and must start with a letter.\n - `project` (`string`): Set the `project` field on the resulting object. When `null`, the `project` field will be omitted from the resulting object.\n - `region` (`string`): A reference to the region where the regional forwarding rule resides.\n\nThis field is not applicable to global forwarding rules. When `null`, the `region` field will be omitted from the resulting object.\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 `compute_forwarding_rule` data source into the root Terraform configuration.\n', args=[]),
1919
newAttrs(
2020
name,
2121
project=null,

0 commit comments

Comments
 (0)