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
Plan: 0 to add, 0 to change, 0 to destroy.
Do you really want to destroy all resources?
Terraform will destroy all your managed infrastructure, as shown above.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
Error: Invalid or missing credentials provided to the Datadog Provider. Please confirm your API and APP keys are valid and see https://terraform.io/docs/providers/datadog/index.html for more information on providing credentials for the Datadog Provider
on example.tf line 10, in provider "datadog":
10: provider "datadog" {
Steps to Reproduce
terraform init
terraform destroy
Additional Context
This seems to only occur when there is at least one resource defined in the terraform config, but the terraform statefile is empty.
The method for handling dependencies during destroy has been improved significantly since 0.13, and I have confirmed this is working in the latest 0.14 release.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Nov 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugcorev0.12Issues (primarily bugs) reported against v0.12 releases
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/bkabrda/c565ac6677167f8c43b103691b985c5c
Crash Output
N/A
Expected Behavior
Should have passed without an error
Actual Behavior
Steps to Reproduce
terraform init
terraform destroy
Additional Context
This seems to only occur when there is at least one resource defined in the terraform config, but the terraform statefile is empty.
References
This happened to a user of Datadog Provider who initializes the provider with values from Amazon SSM data source: https://github.com/terraform-providers/terraform-provider-datadog/issues/360#issuecomment-582450080
The text was updated successfully, but these errors were encountered: