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: .github/ISSUE_TEMPLATE/Bug_Report.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,26 @@ labels: bug
5
5
---
6
6
7
7
<!---
8
-
Please note the following potential times when an issue might be in Terraform core:
8
+
Before filing a bug report, see if your issue is already covered in the [troubleshooting guide](https://www.terraform.io/docs/providers/oci/guides/troubleshooting.html)
9
9
10
+
Please note the following times when an issue is likely outside of the OCI provider.
11
+
This could be either due to issues in the Oracle Cloud Infrastructure service or the Terraform core.
12
+
13
+
Examples of Oracle Cloud Infrastructure service issues:
14
+
* You receive an error with HTTP status code such as 500
15
+
* One of your resources timed out while waiting to reach a specific state, even after increasing your operation timeout value
16
+
17
+
If you are running into one of the above scenarios, we recommend contacting Oracle support at https://docs.cloud.oracle.com/iaas/Content/GSG/Tasks/contactingsupport.htm
18
+
19
+
20
+
Examples of Terraform core issues:
10
21
* [Configuration Language](https://www.terraform.io/docs/configuration/index.html) or resource ordering issues
11
22
* [State](https://www.terraform.io/docs/state/index.html) and [State Backend](https://www.terraform.io/docs/backends/index.html) issues
If you are running into one of these scenarios, we recommend opening an issue in the [Terraform core repository](https://github.com/hashicorp/terraform/) instead.
27
+
If you are running into a Terraform core issue, we recommend opening an issue in the [Terraform core repository](https://github.com/hashicorp/terraform/) instead.
17
28
--->
18
29
19
30
<!--- Please keep this note for the community --->
If you have a support request related to Oracle Cloud Infrastructure services, please [contact Oracle support](https://docs.cloud.oracle.com/iaas/Content/GSG/Tasks/contactingsupport.htm)
15
+
9
16
If you have a support request or question related to core Terraform functionality, please submit them to one of these resources:
10
17
11
18
*[Terraform community resources](https://www.terraform.io/docs/extend/community/index.html)
Copy file name to clipboardExpand all lines: website/docs/guides/faq.html.markdown
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,9 @@ See - http://darylscorner.com/2016/11/using-terraform-across-multiple-cloud-prov
30
30
The change you made outside of Terraform will be overwritten the next time you apply the configuration unless you add the `ignore_changes` parameter to the resource in the configuration file.
31
31
32
32
#### Q: How do I get help?
33
-
You can file an issue against the project
33
+
First, see if your question is already answered by the [troubleshooting guide](https://www.terraform.io/docs/providers/oci/guides/troubleshooting.html)
The Oracle Cloud Infrastructure provider. Troubleshooting
7
7
---
8
+
9
+
## Troubleshooting
10
+
11
+
When troubleshooting or getting support for the OCI Terraform Provider, it is often useful to first check the status of the OCI services and to collect verbose logging.
12
+
13
+
14
+
### Checking OCI service status and outages
15
+
16
+
To check on the latest status and whether there are any outages in OCI, see [OCI Status](https://ocistatus.oraclecloud.com/)
17
+
18
+
19
+
### Verbose logging for OCI Terraform Provider
20
+
21
+
To get verbose console output when the provider is running, precede your Terraform command with the `TF_LOG` and `OCI_GO_SDK_DEBUG` flags:
22
+
23
+
```sh
24
+
TF_LOG=DEBUG OCI_GO_SDK_DEBUG=v terraform plan
25
+
```
26
+
27
+
The [tf_log](https://www.terraform.io/docs/internals/debugging.html) level and `OCI_GO_SDK_DEBUG` flags can also be set as environment variables.
28
+
29
+
30
+
## Common Issues
31
+
8
32
### Not Authenticated Error when configuring Terraform
9
33
10
34
_If the Terraform CLI gives an error message like:_
11
35
12
-
`* oci_core_vcn.resource1: Service error:NotAuthenticated. The required information to complete authentication was not provided or was incorrect.. http status code: 401`
36
+
```
37
+
* oci_core_vcn.resource1: Service error:NotAuthenticated. The required information to complete authentication was not provided or was incorrect.. http status code: 401
38
+
```
13
39
14
40
* Verify you have properly set `user_ocid`, `tenancy_ocid`, `fingerprint` and `private_key_path`
15
41
* Verify your `private_key_path` is pointing to your private key and not the corresponding public key
To get verbose console output when the provider is running, precede your Terraform command with the `TF_LOG` and `OCI_GO_SDK_DEBUG` flags:
80
+
### Errors about service limits
81
+
82
+
While using Terraform, you may encounter errors indicating that you have reached or exceeded the service limits for a resource.
83
+
84
+
To understand more about your OCI service limits and how to request a limit increase, see [Service Limits](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm)
85
+
86
+
87
+
### Timeout errors when waiting for a state change
88
+
89
+
_If the Terraform CLI gives an error message like:_
56
90
57
-
```sh
58
-
TF_LOG=DEBUG OCI_GO_SDK_DEBUG=v terraform plan
91
+
```
92
+
* oci_database_backup.mydb: timeout while waiting for state to become 'ACTIVE' (last state: 'CREATING', timeout: 15m0s)
59
93
```
60
94
61
-
The [tf_log](https://www.terraform.io/docs/internals/debugging.html) level and `OCI_GO_SDK_DEBUG` flags can also be set as environment variables.
95
+
Then the OCI service is indicating that the resource has not yet reached the expected state after polling for some time.
96
+
97
+
You may need to increase the operation timeout for your resource to continue polling for longer. See [Operation Timeouts](https://www.terraform.io/docs/configuration/resources.html#operation-timeouts) for details on how to do this.
0 commit comments