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
Ran into issues when running ./manage.py destroy. The version of terraform in use:
terraform 0.12.9 states:
Error: leftover module module.metric_filters_Classifier_S3DownloadTime_PROD_AGGREGATE in state that should have been removed; this is a bug in Terraform and should be reported
... truncated to reduce noise ...
Description
When i run ./manage.py destroy it causes the above error (truncated) to happen. Having spoken with another streamalert user on slack, he pointed out: hashicorp/terraform#21313 which has a similar error message
Steps to Reproduce
Currently trying to reproduce this on my side
./manage.py init
./manage.py destroy
Desired Change
Increase the version of the terraform provider to at least 0.12.11
The text was updated successfully, but these errors were encountered:
This removed the above issue but i believe i could have found a bug in terraform itself -_- (the bugs never end)
Error: leftover module module.classifier_prod_lambda in state that should have been removed; this is a bug in Terraform and should be reported
Error: error deleting S3 Bucket (PREFIX.streamalert.athena-results): BucketNotEmpty: The bucket you tried to delete is not empty. You must delete all versions in the bucket.
status code: 409, request id: REQUEST_ID, host id: HOST_ID
Error: leftover module module.athena_monitoring in state that should have been removed; this is a bug in Terraform and should be reported
Error: leftover module module.classifier_prod_iam in state that should have been removed; this is a bug in Terraform and should be reported
Error: leftover module module.cloudwatch_monitoring_prod in state that should have been removed; this is a bug in Terraform and should be reported
Although the bucket did have stuff remaining in it so not sure if that caused the error in the first place
sadly we saw this a lot internally too and concluded it was some trash that happens during terraform (apparently poor) implementation of state file version migration from 11 --> 12. we had to manually removed some of these references in order to get back in a good place internally post-migration.
Additionally, it's worth noting that they are, in fact, NOT errors and should more appropriately be logged as a warning by terraform, as it does not result in failures during terraform apply
Background
Ran into issues when running
./manage.py destroy
. The version of terraform in use:terraform 0.12.9
states:Description
When i run
./manage.py destroy
it causes the above error (truncated) to happen. Having spoken with another streamalert user on slack, he pointed out: hashicorp/terraform#21313 which has a similar error messageSteps to Reproduce
./manage.py init
./manage.py destroy
Desired Change
terraform provider
to at least0.12.11
The text was updated successfully, but these errors were encountered: