You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/tfplugindocs/testdata/scripts/provider-build/generate/framework_provider_success_generic_templates.txtar
Copy file name to clipboardExpand all lines: cmd/tfplugindocs/testdata/scripts/provider-build/generate/framework_provider_success_named_templates.txtar
Copy file name to clipboardExpand all lines: cmd/tfplugindocs/testdata/scripts/provider-build/generate/null_provider_success.txtar
+6-6
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,7 @@ class MyConvertedCode(TerraformStack):
228
228
<!-- schema generated by tfplugindocs -->
229
229
## Schema
230
230
231
-
### Optional Attributes
231
+
### Optional
232
232
233
233
- `has_computed_default` (String) If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
234
234
- `inputs` (Map of String) A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
@@ -339,7 +339,7 @@ class MyConvertedCode(TerraformStack):
339
339
<!-- schema generated by tfplugindocs -->
340
340
## Schema
341
341
342
-
### Optional Attributes
342
+
### Optional
343
343
344
344
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
345
345
@@ -456,7 +456,7 @@ class MyConvertedCode extends TerraformStack {
456
456
<!-- schema generated by tfplugindocs -->
457
457
## Schema
458
458
459
-
### Optional Attributes
459
+
### Optional
460
460
461
461
- `hasComputedDefault` (String) If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
462
462
- `inputs` (Map of String) A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
@@ -577,7 +577,7 @@ class MyConvertedCode extends TerraformStack {
577
577
<!-- schema generated by tfplugindocs -->
578
578
## Schema
579
579
580
-
### Optional Attributes
580
+
### Optional
581
581
582
582
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
583
583
@@ -663,7 +663,7 @@ output "all_server_ips" {
663
663
<!-- schema generated by tfplugindocs -->
664
664
## Schema
665
665
666
-
### Optional Attributes
666
+
### Optional
667
667
668
668
- `has_computed_default` (String) If set, its literal value will be stored and returned. If not, its value defaults to `"default"`. This argument exists primarily for testing and has little practical use.
669
669
- `inputs` (Map of String) A map of arbitrary strings that is copied into the `outputs` attribute, and accessible directly for interpolation.
- `triggers` (Map of String) A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.
Copy file name to clipboardExpand all lines: cmd/tfplugindocs/testdata/scripts/schema-json/generate/framework_provider_success_all_framework_types.txtar
+39-45
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Example provider
45
45
<!-- schema generated by tfplugindocs -->
46
46
## Schema
47
47
48
-
### Optional Attributes
48
+
### Optional
49
49
50
50
- `endpoint` (String) Example provider attribute
51
51
-- expected-resource.md --
@@ -66,12 +66,14 @@ example resource
66
66
<!-- schema generated by tfplugindocs -->
67
67
## Schema
68
68
69
-
### Optional Attributes
69
+
### Optional
70
70
71
71
- `bool_attribute` (Boolean) example bool attribute
72
72
- `float64_attribute` (Number) example float64 attribute
73
73
- `int64_attribute` (Number) example int64 attribute
74
74
- `list_attribute` (List of String) example list attribute
75
+
- `list_nested_block` (Block List) example list nested block (see [below for nested schema](#nestedblock--list_nested_block))
76
+
- `list_nested_block_sensitive_nested_attribute` (Block List) (see [below for nested schema](#nestedblock--list_nested_block_sensitive_nested_attribute))
75
77
- `map_attribute` (Map of String) example map attribute
76
78
- `number_attribute` (Number) example number attribute
77
79
- `object_attribute` (Object) example object attribute (see [below for nested schema](#nestedatt--object_attribute))
@@ -86,104 +88,96 @@ example resource
86
88
- `sensitive_set_attribute` (Set of String, Sensitive) example sensitive set attribute
87
89
- `sensitive_string_attribute` (String, Sensitive) example sensitive string attribute
88
90
- `set_attribute` (Set of String) example set attribute
89
-
- `string_attribute` (String) example string attribute
90
-
91
-
### Blocks
92
-
93
-
- `list_nested_block` (Block List) example list nested block (see [below for nested schema](#nestedblock--list_nested_block))
94
-
- `list_nested_block_sensitive_nested_attribute` (Block List) (see [below for nested schema](#nestedblock--list_nested_block_sensitive_nested_attribute))
95
91
- `set_nested_block` (Block Set) example set nested block (see [below for nested schema](#nestedblock--set_nested_block))
96
92
- `single_nested_block` (Block, Optional) example single nested block (see [below for nested schema](#nestedblock--single_nested_block))
97
93
- `single_nested_block_sensitive_nested_attribute` (Block, Optional) example sensitive single nested block (see [below for nested schema](#nestedblock--single_nested_block_sensitive_nested_attribute))
94
+
- `string_attribute` (String) example string attribute
98
95
99
96
### Read-Only
100
97
101
98
- `id` (String) The ID of this resource.
102
99
- `set_nested_block_sensitive_nested_attribute` (Block Set) example sensitive set nested block (see [below for nested schema](#nestedblock--set_nested_block_sensitive_nested_attribute))
103
100
104
-
<a id="nestedatt--object_attribute"></a>
105
-
### Nested Schema for `object_attribute`
101
+
<a id="nestedblock--list_nested_block"></a>
102
+
### Nested Schema for `list_nested_block`
106
103
107
-
Optional Attributes:
104
+
Optional:
108
105
109
-
- `object_attribute_attribute` (String)
106
+
- `list_nested_block_attribute` (String) example list nested block attribute
107
+
- `list_nested_block_attribute_with_default` (String) example list nested block attribute with default
108
+
- `nested_list_block` (Block List) (see [below for nested schema](#nestedblock--list_nested_block--nested_list_block))
0 commit comments