How terraform-aws-modules/terraform-aws-s3-bucket works
This Terraform module accepts bucket configuration and declares AWS S3 resources to create or manage. Its documented capabilities span bucket settings, access controls, replication, notifications, and newer S3 resource types. The tree identifies dedicated modules for some capabilities; the README documents others in the root module. Source excerpts were unavailable, so links between internal components are limited to documented module use and provisioning.
Main entry points: main.tf Bucket module · notification/main.tf S3 notifications · account-public-access/main.tf Account public access · object/main.tf S3 objects
Components 15
Bucket Core
- Bucket module
main.tf - S3 bucket settings
main.tf - Bucket outputs
outputs.tf - Bucket inputs
variables.tf
Access Controls
- Bucket policies
main.tf - Account public access
modules/account-public-access/main.tf
S3 Extensions
- S3 notifications
modules/notification/main.tf - S3 objects
modules/object/main.tf - Table bucket
modules/table-bucket/main.tf - S3 vectors
modules/vectors/main.tf
Module Interfaces
- Terragrunt wrappers
wrappers/main.tf
Other components
- Terraform user
- AWS
- Amazon S3
- Lambda, SQS, SNS
Connections 13
- Terraform user → Bucket module: configures
- Terraform user → Terragrunt wrappers: configures
- Bucket module → S3 bucket settings: configures
- Bucket module → Bucket policies: configures
- Bucket module → Amazon S3: provisions
- Bucket module → AWS: provisions
- Account public access → AWS: configures
- S3 notifications → Amazon S3: configures
- S3 notifications → Lambda, SQS, SNS: notifies
- S3 objects → Amazon S3: manages objects
- Table bucket → Amazon S3: configures
- S3 vectors → Amazon S3: configures
- S3 bucket settings → Bucket outputs: exposes