Terraform resource: aws s3 object
(Redirected from Aws s3 object)
Jump to navigation
Jump to search
aws_s3_object
Terraform resource, doc.
Argument Reference[edit]
- storage_class:
STANDARD | REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE | OUTPOSTS | GLACIER_IR | SNOW | EXPRESS_ONEZONE
[1]
Official example[edit]
Upload a file:
resource "aws_s3_object" "object" { bucket = "your_bucket_name" key = "new_object_key" source = "path/to/file" etag = filemd5("path/to/file") }
Related[edit]
See also[edit]
- Terraform resource:
aws_s3_object
,storage_class
- Terraform s3:
aws_s3_bucket, aws_s3_bucket_notification
- Terraform S3 resources:
aws_s3_bucket, aws_s3_object, aws_s3_bucket_policy, aws_s3_bucket_acl, aws_s3_bucket_website_configuration, aws_s3_bucket cors_configuration, aws_s3_account_public_access_block
, Terraform module: s3-bucket,aws_s3_bucket_versioning, aws_s3_bucket_server_side_encryption_configuration, aws_s3_bucket_logging
Advertising: