Difference between revisions of "Terraform resource: aws s3 bucket"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 29: | Line 29: | ||
* <code>[[aws_s3control_bucket_lifecycle_configuration]]</code> | * <code>[[aws_s3control_bucket_lifecycle_configuration]]</code> | ||
* <code>[[aws_s3_object]]</code> | * <code>[[aws_s3_object]]</code> | ||
+ | * [[Terraform data source: aws_s3_bucket]] | ||
== See also == | == See also == |
Revision as of 14:29, 4 April 2023
Contents
Example
resource "aws_s3_bucket" "my-resource-bucket" { bucket = "my-tf-test-bucket" tags = { Name = "My bucket" Environment = "Dev" } }
Errors
Error: creating Amazon S3 (Simple Storage) Bucket (yourbucketname): bucket already exists
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
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: