generated from terraform-modules/template_aws_module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| VERSION 1.1.2 | ||
| COMMAND tf-init | ||
| COMMAND tf-state list | ||
| aws_lb_listener.app_443 aws_lb_listener.app_80_redirect | ||
| aws_lb_target_group.app | ||
| POLICY | ||
| COMMENT To remove the LB, we have to disable the delete protection. | ||
| COMMAND tf-apply -target=aws_lb.app -var enable_deletion_protection=false | ||
| ALL | ||
|
|
||
| COMMENT Contact TCO to revoke the certificate issued to this LB. | ||
| COMMENT We need to remove the TLS key from git-secret, remove the links, and move this directory | ||
| COMMENT to the ../ATTIC/ directory. Here are the commands. Fill in your own message, and DIRECTORY | ||
| COMMENT is the this directory. Once done, do a commit, push, and PR for the complete removal. | ||
| COMMENT git-secret remove certs/*.key | ||
| COMMENT rm $(find -maxdepth 1 -type l -print) | ||
| COMMENT test -d ../ATTIC || mkdir ../ATTIC | ||
| COMMENT rm -rf .terraform | ||
| COMMENT cd .. | ||
| COMMENT git mv DIRECTORY ATTIC/ |
This file contains 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 characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| variable "enable_deletion_protection" { | ||
| description = "Eanble or disable delete protection on LB. If enabled, it must be disabled before destroying" | ||
| type = bool | ||
| default = true | ||
| } |