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
231
+
### Optional Attributes
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
342
+
### Optional Attributes
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
459
+
### Optional Attributes
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
580
+
### Optional Attributes
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
666
+
### Optional Attributes
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
+45-39
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
48
+
### Optional Attributes
49
49
50
50
- `endpoint` (String) Example provider attribute
51
51
-- expected-resource.md --
@@ -66,14 +66,12 @@ example resource
66
66
<!-- schema generated by tfplugindocs -->
67
67
## Schema
68
68
69
-
### Optional
69
+
### Optional Attributes
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))
77
75
- `map_attribute` (Map of String) example map attribute
78
76
- `number_attribute` (Number) example number attribute
79
77
- `object_attribute` (Object) example object attribute (see [below for nested schema](#nestedatt--object_attribute))
@@ -88,63 +86,41 @@ example resource
88
86
- `sensitive_set_attribute` (Set of String, Sensitive) example sensitive set attribute
89
87
- `sensitive_string_attribute` (String, Sensitive) example sensitive string attribute
90
88
- `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))
91
95
- `set_nested_block` (Block Set) example set nested block (see [below for nested schema](#nestedblock--set_nested_block))
92
96
- `single_nested_block` (Block, Optional) example single nested block (see [below for nested schema](#nestedblock--single_nested_block))
93
97
- `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
95
98
96
99
### Read-Only
97
100
98
101
- `id` (String) The ID of this resource.
99
102
- `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))
100
103
101
-
<a id="nestedblock--list_nested_block"></a>
102
-
### Nested Schema for `list_nested_block`
103
-
104
-
Optional:
105
-
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