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/39c90903d121740effd6cde32b8f9f1a to your computer and use it in GitHub Desktop.
Save recursivecodes/39c90903d121740effd6cde32b8f9f1a 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 = "NoPublicAccess" # <---- updated
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment