Skip to content

Commit 1f6065a

Browse files
committed
changing the bucket name and output label in retention rules example
1 parent fc6a166 commit 1f6065a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/object_storage/retentionrule.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
resource "oci_objectstorage_bucket" "retention_rule_bucket" {
88
compartment_id = "${var.compartment_ocid}"
99
namespace = "${data.oci_objectstorage_namespace.ns.namespace}"
10-
name = "tf-example-bucket"
10+
name = "tf-example-bucket-with-retention-rule"
1111
access_type = "NoPublicAccess"
1212

1313
retention_rules {
@@ -24,9 +24,9 @@ resource "oci_objectstorage_bucket" "retention_rule_bucket" {
2424

2525
data "oci_objectstorage_bucket" "retention_rule_bucket" {
2626
namespace = "${data.oci_objectstorage_namespace.ns.namespace}"
27-
name = "tf-example-bucket"
27+
name = "tf-example-bucket-with-retention-rule"
2828
}
2929

30-
output lifecyclePolicies1 {
30+
output "retention_rules_on_bucket" {
3131
value = "${data.oci_objectstorage_bucket.retention_rule_bucket.retention_rules}"
3232
}

0 commit comments

Comments
 (0)