S3 Bucket

Creating a bucket (Standard) with minimal parameters

resources:
  # Standard Storage Class
  - type: aws_s3_bucket
    name: test-standard-bucket
    props:
      bucket_name: "test-standard-bucket"

Example price for above configuration

test-standard-bucket (action: create)
=> Price (Storage cost (Standard))
  => Tier 1 (First 50 TB - price: $0.023/GB-Mo)
  => Tier 2 (Next 450 TB - price: $0.022/GB-Mo)
  => Tier 3 (Over 500 TB - price: $0.021/GB-Mo)
=> Price (PUT/COPY/POST/LIST requests - price: $0.005/1K-Requests)
=> Price (GET and other requests - price: $0.004/10K-Requests)

Creating a bucket (Intelligent - Tiering) with minimal parameters

resources:
  - type: aws_s3_bucket
    name: test-intelligent-tiering-bucket
    props:
      bucket_name: "test-intelligent-tiering-bucket"
      intelligent_tiering_configurations:
        - id: "EntireBucket"
          status: "Enabled"

Example price for above configuration

Creating a bucket (Standard - IA) with minimal parameters

Example price for above configuration

Last updated

Was this helpful?