Skip to content

Commit d7ae5a5

Browse files
docs: add troubleshooting for terraform docs (#234)
* docs: add troubleshooting for terraform docs * docs: deprecate gitlabs web
1 parent c1807cd commit d7ae5a5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
> ⚠️ content deprecated, use https://docs.sysdig.com/en/docs/developer-tools/terraform-provider/
3+
14
# Terraform Provider for Sysdig
25

36
## Introduction

website/docs/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,26 @@ When Secure resources are to be created, this authentication must be in place.
126126
### Others
127127
* `extra_headers` - (Optional) Defines extra HTTP headers that will be added to the client
128128
while performing HTTP API calls.
129+
130+
## Troubleshooting
131+
132+
If you get a:
133+
134+
```
135+
panic: Invalid diagnostic: empty summary. This is always a bug in the provider implementation
136+
```
137+
138+
Please check:
139+
140+
If you are using a monitor resource those variables should be correctly set:
141+
```
142+
sysdig_monitor_url = "https://app.sysdigcloud.com"
143+
sysdig_monitor_api_token = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
144+
```
145+
If you are using a secure resource those variables should be correctly set:
146+
```
147+
sysdig_secure_url="https://secure.sysdig.com"
148+
sysdig_secure_api_token = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
149+
```
150+
Ensure for both url variables your region is correctly set.
151+
For more info on regions [check here](https://docs.sysdig.com/en/docs/administration/saas-regions-and-ip-ranges/).

0 commit comments

Comments
 (0)