Skip to content

Commit ec93099

Browse files
committed
Add conflictsWith, and exactlyOneOf in transfer_spec
1 parent 0aacfee commit ec93099

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mmv1/third_party/terraform/services/storagetransfer/resource_storage_transfer_job.go.tmpl

+2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ func ResourceStorageTransferJob() *schema.Resource {
177177
Type: schema.TypeList,
178178
Optional: true,
179179
MaxItems: 1,
180+
ConflictsWith: []string{"replication_spec"},
181+
ExactlyOneOf: []string{"transfer_spec", "replication_spec"},
180182
Elem: &schema.Resource{
181183
Schema: map[string]*schema.Schema{
182184
"object_conditions": objectConditionsSchema(transferSpecObjectConditionsKeys),

0 commit comments

Comments
 (0)