Skip to content

Commit e204b4a

Browse files
committed
docs: Updated corefunc_str_snake docs.
1 parent b763957 commit e204b4a

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

corefuncprovider/str_snake_data_source.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (d *strSnakeDataSource) Schema(
9393
Required: true,
9494
},
9595
"value": schema.StringAttribute{
96-
Description: "The value of the environment variable, if it exists.",
96+
Description: "The value of the string.",
9797
Computed: true,
9898
},
9999
},

docs/data-sources/str_snake.md

+1-17
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ data "corefunc_str_snake" "v322" {
2323
string = "v3.2.2"
2424
}
2525
26-
output "value" {
27-
value = data.corefunc_str_snake.v322.value
28-
}
29-
3026
#=> v3_2_2
3127
3228
#-----------------------------------------------------------------------
@@ -35,10 +31,6 @@ data "corefunc_str_snake" "test_from_camel" {
3531
string = "TestFromCamel"
3632
}
3733
38-
output "value_from_camel" {
39-
value = data.corefunc_str_snake.test_from_camel.value
40-
}
41-
4234
#=> test_from_camel
4335
4436
#-----------------------------------------------------------------------
@@ -47,10 +39,6 @@ data "corefunc_str_snake" "this_is_an_example" {
4739
string = "This is [an] {example}$${id32}."
4840
}
4941
50-
output "value_is_an_example" {
51-
value = data.corefunc_str_snake.this_is_an_example.value
52-
}
53-
5442
#=> this_is_an_example_id_32
5543
5644
#-----------------------------------------------------------------------
@@ -59,10 +47,6 @@ data "corefunc_str_snake" "test_with_number" {
5947
string = "test with number -123.456"
6048
}
6149
62-
output "value_with_number" {
63-
value = data.corefunc_str_snake.test_with_number.value
64-
}
65-
6650
#=> test_with_number_123_456
6751
```
6852

@@ -76,6 +60,6 @@ output "value_with_number" {
7660
### Read-Only
7761

7862
* `id` (Number) Not used. Required by the [Terraform Plugin Framework](https://developer.hashicorp.com/terraform/plugin/framework).
79-
* `value` (String) The value of the environment variable, if it exists.
63+
* `value` (String) The value of the string.
8064

8165
<!-- Preview the provider docs with the Terraform registry provider docs preview tool: https://registry.terraform.io/tools/doc-preview -->

examples/data-sources/corefunc_str_snake/data-source.tf

-16
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ data "corefunc_str_snake" "v322" {
22
string = "v3.2.2"
33
}
44

5-
output "value" {
6-
value = data.corefunc_str_snake.v322.value
7-
}
8-
95
#=> v3_2_2
106

117
#-----------------------------------------------------------------------
@@ -14,10 +10,6 @@ data "corefunc_str_snake" "test_from_camel" {
1410
string = "TestFromCamel"
1511
}
1612

17-
output "value_from_camel" {
18-
value = data.corefunc_str_snake.test_from_camel.value
19-
}
20-
2113
#=> test_from_camel
2214

2315
#-----------------------------------------------------------------------
@@ -26,10 +18,6 @@ data "corefunc_str_snake" "this_is_an_example" {
2618
string = "This is [an] {example}$${id32}."
2719
}
2820

29-
output "value_is_an_example" {
30-
value = data.corefunc_str_snake.this_is_an_example.value
31-
}
32-
3321
#=> this_is_an_example_id_32
3422

3523
#-----------------------------------------------------------------------
@@ -38,8 +26,4 @@ data "corefunc_str_snake" "test_with_number" {
3826
string = "test with number -123.456"
3927
}
4028

41-
output "value_with_number" {
42-
value = data.corefunc_str_snake.test_with_number.value
43-
}
44-
4529
#=> test_with_number_123_456

0 commit comments

Comments
 (0)