Brad Poulton 4 anni fa
parent
commit
3a95477bc9

+ 7 - 0
prod/aws-us-gov/mdr-prod-c2/095-instance-sensu/README.md

@@ -1,5 +1,12 @@
 # Sensu Setup Steps
 
+NOTE: If you are recreating the Sensu server, don't forget to destroy the sensu-configuration first THEN destroy the instance-sensu! This will clear out the terraform state. If you forget you can use these terragrunt commands to remove the configurations from the state and then reapply them. 
+```
+terragrunt state list
+terragrunt state list > deleteme
+for line in `cat deleteme`; do terragrunt state rm $line; done
+```
+
 - Run terraform in 095-instance-sensu to spin up the server and other resources
 - Ensure the RPMs are located on the reposerver
 - Run prep Salt states