ancient-thailand-47587
12/12/2023, 5:39 AMbuckets:
- name: a
is_primary: true
region: <region-1>
lifecycle_rules:
- <rules_config>
replication:
region: <region-2>
storage_class: STANDARD
name: a-replica
versioning:
enabled: true
- name: a-replica
region: <region-2>
lifecycle_rules:
- <rules_config>
replication:
region: <region-1>
name: a
where the first item replicates to the second and vice-versa. There could be more buckets configured like this…
I’m trying to follow the bi-directional replication sample here. The sample captures each resource returned to reference it in another spot in the sample. (EX east_bucket_v2 = … and later east_bucket_v2.id is used.
Is there a way to do this driven by the config file, and in a loop where there can be multiple sets of replicas defined? Ex. (if I add another 2 bucket definitions like above for a total of 4 buckets)?ancient-thailand-47587
12/12/2023, 5:41 AMlittle-cartoon-10569
12/12/2023, 7:54 PMlittle-cartoon-10569
12/12/2023, 7:57 PM