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 | ||
+ | |||
+ | |||
+ | resource "aws_s3_bucket" "my-resource-bucket" { | ||
+ | bucket = "my-tf-test-bucket" | ||
+ | |||
+ | tags = { | ||
+ | Name = "My bucket" | ||
+ | Environment = "Dev" | ||
+ | } | ||
+ | } | ||
== Arguments == | == Arguments == |
Revision as of 01:21, 15 February 2022
resource "aws_s3_bucket" "my-resource-bucket" { bucket = "my-tf-test-bucket" tags = { Name = "My bucket" Environment = "Dev" } }
Arguments
versioning
: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket#versioning
Related
See also
Advertising: