Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger committed Jan 21, 2025
1 parent b5f7f48 commit 3e2db58
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions provider/doc_edits.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,25 +205,6 @@ var fixUpBucketReplicationConfig = tfbridge.DocsEdit{
},
}

// targetedReplace(
// "s3_bucket_replication_configuration.html.markdown",
// "* `rule` - (Required) List of configuration blocks describing the rules managing the replication. "+
// "[See below](#rule).\n",
// "* `rule` - (Required) List of configuration blocks describing the rules managing the replication. "+
// "[See below](#rule).\n"+
// "~> **NOTE:** Replication to multiple destination buckets requires that `priority` is specified "+
// "in the `rule` object. If the corresponding rule requires no filter, an empty configuration block "+
// "`filter {}` must be specified."+
// "\n\n~> **NOTE:** Amazon S3's latest version of the replication configuration is V2, "+
// "which includes the `filter` attribute for replication rules.\n\n"+
// "~> **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time "+
// "and should not be included in your `rule` configurations. "+
// "Specifying this parameter will result in `MalformedXML` errors.\n"+
// "To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication]"+
// "(https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) "+
// "documentation in the Amazon S3 User Guide.\n",
//)

func reReplace(from string, to string) tfbridge.DocsEdit {
fromR, toB := regexp.MustCompile(from), []byte(to)
return tfbridge.DocsEdit{
Expand Down

0 comments on commit 3e2db58

Please sign in to comment.