Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-williams committed Jun 28, 2023
1 parent e99b65c commit dc78c5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ module "ecr" {
EOF
*/

# OPTIONAL: Add this parameter when you are planning on either deleting your environment namespace or ECR resource.
# OPTIONAL: Add deletion_protection = false parameter if you are planning on either deleting your environment namespace or ECR resource.
# IMPORTANT: It is the PR owners responsibility to ensure that no other environments are sharing this ECR registry.
# This flag will allow a non-empty ECR to be deleted.
# Defaults to false
# Defaults to true

# ready_for_deletion = true
# deletion_protection = false
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ variable "github_actions_prefix" {
}

variable "deletion_protection" {
description = "Whether the ECR should have deletion protection enabled for non-empty registry. Set this to false if you intend to delete your ECR resource or namespace. NOTE: PR owner has responsibility to ensure that no other environments are sharing this ECR."
description = "(Optional) Whether the ECR should have deletion protection enabled for non-empty registry. Set this to false if you intend to delete your ECR resource or namespace. NOTE: PR owner has responsibility to ensure that no other environments are sharing this ECR. Defaults to true."
type = bool
default = true
}

0 comments on commit dc78c5b

Please sign in to comment.