File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77resource "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
2525data "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}
You can’t perform that action at this time.
0 commit comments