Skip to content

Commit

Permalink
Remove unused provider, null values
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Oct 25, 2022
1 parent b396d09 commit b063de6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions examples/complete/lifecycle.us-east-2.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ lifecycle_configuration_rules = [

lifecycle_rules = [
{
prefix = null
# prefix = null
enabled = true
tags = { "temp" : "true" }

Expand All @@ -109,7 +109,7 @@ lifecycle_rules = [
enable_current_object_expiration = true
enable_noncurrent_version_expiration = true

abort_incomplete_multipart_upload_days = null
# abort_incomplete_multipart_upload_days = null
noncurrent_version_glacier_transition_days = 0
noncurrent_version_deeparchive_transition_days = 0
noncurrent_version_expiration_days = 30
Expand All @@ -120,7 +120,7 @@ lifecycle_rules = [
expiration_days = 1
},
{
prefix = null
# prefix = null
enabled = true
tags = {}

Expand Down
4 changes: 0 additions & 4 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ provider "aws" {
region = var.region
}

provider "awsutils" {
region = var.region
}

module "s3_bucket" {
source = "../../"

Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ variable "allow_ssl_requests_only" {
}


# See lifecycle.tf for conversion of deprecated `lifecyle_rules` to `lifecycle_configuration_rules`
# See lifecycle.tf for conversion of deprecated `lifecycle_rules` to `lifecycle_configuration_rules`
variable "lifecycle_configuration_rules" {
type = list(object({
enabled = optional(bool, true)
Expand Down

0 comments on commit b063de6

Please sign in to comment.