Skip to content

Commit

Permalink
Fix prevent destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusdeMelo committed Feb 5, 2024
1 parent c0e4efd commit 69f3b12
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion clients/sample/sample.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ projects = [
{
name = "frontend-site"
elasticsearch_version = "7.10"
prevent_destroy = bool
cluster_config = {
instance_type = "t3.small.elasticsearch"
instance_count = 1
Expand Down
2 changes: 1 addition & 1 deletion modules/elasticsearch/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ resource "aws_elasticsearch_domain" "elasticsearch" {
}

lifecycle {
prevent_destroy = var.prevent_destroy
prevent_destroy = false
}
}

0 comments on commit 69f3b12

Please sign in to comment.