title: AWS/Terraform: Is there a way to toggle the replication_configuration block on an aws_s3_bucket?
body: <p>I am looking for suggestions on how I can toggle the <code>replication_configuration</code> block on an <a href="https://www.terraform.io/docs/providers/aws/r/s3_bucket.html" rel="nofollow noreferrer"><code>aws_S3_bucket</code> resource</a>.</p>
  
  <p>I am trying to have the <code>replication_configuration</code> block be applied only if my variable <code>enable_crr</code> is set to <code>true</code> in terraform.</p>
  
  <p>The issue I face is that the block doesn't support <code>enabled</code> or <code>count</code>, so I'm hoping someone knows an alternative way of implementing this.</p>
  
  <p>Does anyone have any suggestions?</p>