Browse Source

Adds Sensu Notes

Brad Poulton 4 năm trước cách đây
mục cha
commit
3a95477bc9
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      prod/aws-us-gov/mdr-prod-c2/095-instance-sensu/README.md

+ 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