Created
February 22, 2021 17:49
-
-
Save recursivecodes/554deea10a5832eb8ecbab9d96e1610f to your computer and use it in GitHub Desktop.
test.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "oci_objectstorage_bucket" "create_bucket" { | |
# required | |
compartment_id = var.compartment_ocid | |
name = "my_new_bucket" | |
namespace = var.bucket_namespace | |
# optional | |
access_type = "ObjectRead" | |
} | |
output "new_bucket" { | |
value = oci_objectstorage_bucket.create_bucket | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment