Skip to content

Commit 46dc450

Browse files
Remove unused fields in synthetic_monitoring_installation (#966)
* Remove unused fields in `synthetic_monitoring_installation` * Remove update mapping
1 parent 2fa3cef commit 46dc450

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

docs/resources/synthetic_monitoring_installation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ provider "grafana" {
5858

5959
### Optional
6060

61-
- `logs_instance_id` (Number, Deprecated) Deprecated: Not used anymore.
62-
- `metrics_instance_id` (Number, Deprecated) Deprecated: Not used anymore.
6361
- `stack_sm_api_url` (String) The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/synthetic-monitoring/private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
6462

6563
### Read-Only

internal/resources/cloud/resource_synthetic_monitoring_installation.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ This resource cannot be imported but it can be used on an existing Synthetic Mon
4444
`,
4545
CreateContext: ResourceInstallationCreate,
4646
ReadContext: ResourceInstallationRead,
47-
UpdateContext: ResourceInstallationRead,
4847
DeleteContext: ResourceInstallationDelete,
4948

5049
Schema: map[string]*schema.Schema{
@@ -68,18 +67,6 @@ This resource cannot be imported but it can be used on an existing Synthetic Mon
6867
ForceNew: true,
6968
Description: "The ID or slug of the stack to install SM on.",
7069
},
71-
"metrics_instance_id": {
72-
Type: schema.TypeInt,
73-
Optional: true,
74-
Deprecated: "Not used anymore.",
75-
Description: "Deprecated: Not used anymore.",
76-
},
77-
"logs_instance_id": {
78-
Type: schema.TypeInt,
79-
Optional: true,
80-
Deprecated: "Not used anymore.",
81-
Description: "Deprecated: Not used anymore.",
82-
},
8370
"sm_access_token": {
8471
Type: schema.TypeString,
8572
Computed: true,

0 commit comments

Comments
 (0)