Skip to content

Commit

Permalink
Removes "bucket_versioning & "bucket_force_destroy" vars as per issue…
Browse files Browse the repository at this point in the history
… #6114.
  • Loading branch information
mikereiddigital committed Feb 5, 2024
1 parent 6fc8ff5 commit aac7128
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ module "bastion_linux" {
# s3 - used for logs and user public keys
bucket_name = "bastion"
bucket_versioning = true
bucket_force_destroy = true
# public keys
public_key_data = local.public_key_data.keys[local.environment]
# logs
Expand Down
18 changes: 0 additions & 18 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,6 @@ variable "bucket_name" {
}
}

variable "bucket_versioning" {
type = bool
description = "Enable bucket versioning or not"
validation {
condition = (var.bucket_versioning == true || var.bucket_versioning == false)
error_message = "Variable bucket_versioning must be boolean."
}
}

variable "bucket_force_destroy" {
type = bool
description = "The bucket and all objects should be destroyed when using true"
validation {
condition = (var.bucket_force_destroy == true || var.bucket_force_destroy == false)
error_message = "Variable bucket_force_destroy must be boolean."
}
}

#### Logs
variable "log_auto_clean" {
type = string
Expand Down

0 comments on commit aac7128

Please sign in to comment.