Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created February 22, 2021 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/554deea10a5832eb8ecbab9d96e1610f to your computer and use it in GitHub Desktop.
Save recursivecodes/554deea10a5832eb8ecbab9d96e1610f to your computer and use it in GitHub Desktop.
test.tf
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