diff --git a/examples/complete/main.tf b/examples/complete/main.tf
index fa70977f..0f70e147 100644
--- a/examples/complete/main.tf
+++ b/examples/complete/main.tf
@@ -15,7 +15,7 @@ module "s3_bucket" {
   allowed_bucket_actions        = var.allowed_bucket_actions
   bucket_name                   = var.bucket_name
   object_lock_configuration     = var.object_lock_configuration
-  s3_replication_enabled        = local.replication_enabled
+  s3_replication_enabled        = local.s3_replication_enabled
   s3_replica_bucket_arn         = join("", module.s3_bucket_replication_target.*.bucket_arn)
   s3_replication_rules          = local.s3_replication_rules
   privileged_principal_actions  = var.privileged_principal_actions
diff --git a/examples/complete/outputs.tf b/examples/complete/outputs.tf
index 70fe0701..ea0db82d 100644
--- a/examples/complete/outputs.tf
+++ b/examples/complete/outputs.tf
@@ -14,12 +14,12 @@ output "bucket_arn" {
 }
 
 output "replication_bucket_id" {
-  value       = local.replication_enabled ? join("", module.s3_bucket_replication_target.*.bucket_id) : null
+  value       = local.s3_replication_enabled ? join("", module.s3_bucket_replication_target.*.bucket_id) : null
   description = "Replication bucket ID"
 }
 
 output "replication_bucket_arn" {
-  value       = local.replication_enabled ? join("", module.s3_bucket_replication_target.*.bucket_arn) : null
+  value       = local.s3_replication_enabled ? join("", module.s3_bucket_replication_target.*.bucket_arn) : null
   description = "Replication bucket bucket ARN"
 }
 
diff --git a/examples/complete/replication.tf b/examples/complete/replication.tf
index 183dbaad..fc9f3638 100644
--- a/examples/complete/replication.tf
+++ b/examples/complete/replication.tf
@@ -1,6 +1,6 @@
 locals {
-  replication_enabled = var.s3_replication_enabled
-  replication_rules = local.replication_enabled ? [
+  s3_replication_enabled = var.s3_replication_enabled
+  s3_replication_rules = local.s3_replication_enabled ? [
     {
       id                 = "replication-test-explicit-bucket"
       status             = "Enabled"
@@ -28,11 +28,10 @@ locals {
       }
     }
   ] : []
-  s3_replication_rules = local.replication_rules
 }
 
 module "s3_bucket_replication_target" {
-  count = local.replication_enabled ? 1 : 0
+  count = local.s3_replication_enabled ? 1 : 0
 
   source = "../../"
 
@@ -47,7 +46,7 @@ module "s3_bucket_replication_target" {
 }
 
 module "s3_bucket_replication_target_extra" {
-  count = local.replication_enabled ? 1 : 0
+  count = local.s3_replication_enabled ? 1 : 0
 
   source = "../../"