Last active
June 19, 2024 08:47
-
-
Save thomashartm/38c25c12abda4d5425a4235530e99e5c to your computer and use it in GitHub Desktop.
Revisions
-
thomashartm revised this gist
Jun 19, 2024 . 2 changed files with 9 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash # usage: # ./remove-terragrunt-state module.s3_bucket ../../../ TOKEN=$1 SOURCE=$2 terragrunt state rm $(terragrunt state list --terragrunt-source ../../../ | grep $TOKEN) --terragrunt-source $SOURCE -
thomashartm renamed this gist
Jun 19, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
thomashartm created this gist
Jun 19, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ terragrunt state rm $(terragrunt state list --terragrunt-source ../../../ | grep cloudfront_logs) --terragrunt-source ../../../