New paste Use cases Explore public pastes Text tools Developer API The Paste Library Security Sign in with Google
TERRAFORMExample pasteCreated 2026-07-291 viewNo expiry

Terraform private object storage example

Raw New paste
terraformRead-only
1
resource "aws_s3_bucket" "artifacts" {
  bucket = "example-build-artifacts"
}

resource "aws_s3_bucket_public_access_block" "artifacts" {
  bucket = aws_s3_bucket.artifacts.id

  block_public_acls       = true
  block_public_policy     = true
  ignore_public_acls      = true
  restrict_public_buckets = true
}
Report abuse

Paste details

Visibility
Public
Size
310 bytes
Protection
Standard link access
Retention
No automatic expiry

Share with confidence

Unlisted links are not searchable, but anyone with the URL can open them. Never paste live credentials or personal data.