Difference between revisions of "Terraform resource: aws s3 bucket"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket | ||
+ | |||
+ | == Arguments == | ||
+ | * <code>[[versioning]]</code>: <code>[[aws_s3_versioning]]</code> https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning | ||
+ | * <code>[[logging]]</code> | ||
+ | * [[AWS S3 lifecycle|Lifecycle]]: <code>[[lifecycle_rule]]</code>. Resource: <code>[[aws_s3_bucket_lifecycle_configuration]]</code> | ||
+ | * [[AWS S3 replication|Replication]]: <code>[[replication_configuration]]</code> | ||
+ | * [[Terraform resource: aws s3 bucket server side encryption configuration]] | ||
+ | * <code>[[expired_object_delete_marker]]</code> | ||
+ | * <code>[[routing_rules]]</code> | ||
== Examples == | == Examples == |
Revision as of 14:34, 21 June 2023
Contents
Arguments
versioning
:aws_s3_versioning
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioninglogging
- Lifecycle:
lifecycle_rule
. Resource:aws_s3_bucket_lifecycle_configuration
- Replication:
replication_configuration
- Terraform resource: aws s3 bucket server side encryption configuration
expired_object_delete_marker
routing_rules
Examples
resource "aws_s3_bucket" "my-resource-bucket" { bucket = "my-tf-test-bucket" tags = { Name = "My bucket" Environment = "Dev" } }
Messages
Error: creating Amazon S3 (Simple Storage) Bucket (yourbucketname): bucket already exists
# aws_s3_bucket.your_bucket has moved to aws_s3_bucket.your_bucket[0]
Related
- Terraform resource: aws_s3_bucket_versioning
aws_s3_bucket_notification
aws_s3_bucket_inventory
aws_s3_bucket_lifecycle_configuration
aws_s3control_bucket_lifecycle_configuration
aws_s3_object
- Terraform data source: aws_s3_bucket
See also
Advertising: