You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iftfawserr.ErrCodeEquals(err, s3.ErrCodeNoSuchBucket) ||tfawserr.ErrMessageContains(err, "InvalidRequest", "Versioning must be 'Enabled' on the bucket") {
@@ -387,6 +396,10 @@ func resourceBucketReplicationConfigurationUpdate(d *schema.ResourceData, meta i
iftfawserr.ErrCodeEquals(err, s3.ErrCodeNoSuchBucket) ||tfawserr.ErrMessageContains(err, "InvalidRequest", "Versioning must be 'Enabled' on the bucket") {
Copy file name to clipboardexpand all lines: website/docs/r/s3_bucket_replication_configuration.html.markdown
+2
Original file line number
Diff line number
Diff line change
@@ -219,6 +219,8 @@ The following arguments are supported:
219
219
*`bucket` - (Required) The name of the source S3 bucket you want Amazon S3 to monitor.
220
220
*`role` - (Required) The ARN of the IAM role for Amazon S3 to assume when replicating the objects.
221
221
*`rule` - (Required) Set of configuration blocks describing the rules managing the replication [documented below](#rule).
222
+
*`token` - (Optional) A token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
223
+
For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
0 commit comments