Skip to content

Commit b5e7130

Browse files
committed
remove hardcode availability_domain from example
1 parent dd8d3cc commit b5e7130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/storage/block/volume/volume_replicas.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resource "oci_core_volume" "test_volume_with_optional_parameter" {
1212

1313
// please find allowed other region's availability_domain and hardcode here
1414
block_volume_replicas {
15-
availability_domain = "NyKp:US-ASHBURN-AD-1"
15+
availability_domain =data.oci_identity_availability_domain.ad.name
1616
display_name = "test_replicas"
1717
}
1818
// if you want delete volume and this volume has replicas, please disable replicas at first, set this "block_volume_replicas_deletion" to true

0 commit comments

Comments
 (0)