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
This will cause the following error message on every run:
Error: Missing required argument
The argument "endpoint" is required, but was not set.
Error: Missing required argument
The argument "username" is required, but was not set.
This issue seems to be covering the same problem or request as #23821, so we're going to close it just to consolidate the discussion over there. Thanks!
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 and limited conversation to collaborators
Apr 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Expected Behavior
Terraform should clean up removed modules from the state file.
Actual Behavior
After removing the module from the
.tf
file, terraform is leaving the following entry in the state file:This will cause the following error message on every run:
Workaround
terraform state pull > terraform.tfstate
jq '.resources[] | select(.instances | length == 0)' terraform.tfstate
terraform.tfstate
terraform state push -force terraform.tfstate
The text was updated successfully, but these errors were encountered: