Skip to content

Instantly share code, notes, and snippets.

@IronCore864
Created Jun 13, 2021
Embed
What would you like to do?
terraform-s3-bucket
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "3.45.0"
}
}
}
provider "aws" {
region = "eu-central-1"
}
resource "aws_s3_bucket" "b" {
bucket = "my-tf-test-bucket-${terraform.workspace}-1623578630"
acl = "private"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment