Skip to content

Commit 639d83c

Browse files
committed
SUMO-216512: doc for app install/uninstall/upgrade
1 parent 8000037 commit 639d83c

File tree

2 files changed

+37
-6
lines changed

2 files changed

+37
-6
lines changed

sumologic/resource_sumologic_app_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
)
1212

1313
func TestAccSumologicApp_basic(t *testing.T) {
14-
// uuid of MySql - OpenTelemetry app
15-
uuid := "1de46d03-e051-404e-8c6b-53aa7a057df6"
16-
version := "1.0.5"
14+
// uuid of Varnish - OpenTelemetry app
15+
uuid := "d2ef33c3-67f2-4438-9124-14a30ec2ecf3"
16+
version := "1.0.3"
1717
parameterKey := "key"
1818
parameterValue := "value"
1919

@@ -37,9 +37,9 @@ func TestAccSumologicApp_basic(t *testing.T) {
3737

3838
func TestAccSumologicApp_create(t *testing.T) {
3939
// create config
40-
// uuid of MySql - OpenTelemetry app
41-
uuid := "1de46d03-e051-404e-8c6b-53aa7a057df6"
42-
version := "1.0.5"
40+
// uuid of Varnish - OpenTelemetry app
41+
uuid := "d2ef33c3-67f2-4438-9124-14a30ec2ecf3"
42+
version := "1.0.4"
4343
parameterKey := "key"
4444
parameterValue := "value"
4545

website/docs/r/app.html.markdown

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: "app"
3+
page_title: "SumoLogic: sumologic_app"
4+
description: |-
5+
Installs/Uninstalls/Upgrades an app (v2) from our app catalog
6+
---
7+
8+
# sumologic_app
9+
Provides a Sumologic_App.
10+
11+
## Example Usage
12+
```hcl
13+
14+
resource "sumologic_app" "example_app" {
15+
uuid = "ceb7fac5-1127-4a04-a5b8-2e49190be3d5"
16+
version = "1.0.1"
17+
parameters = {
18+
"k1": "v1",
19+
"k2": "v2"
20+
}
21+
}
22+
```
23+
24+
## Argument reference
25+
26+
The following arguments are supported:
27+
28+
- `uuid` - UUID of the app to install/uninstall/upgrade.
29+
- `version` - Version of the app to install. You can either specify a specific version of the app or use latest to install the latest version of the app.
30+
- `parameters` - (Optional) Map of additional parameters for the app installation.
31+

0 commit comments

Comments
 (0)