Skip to content

Instantly share code, notes, and snippets.

@IronCore864
Created June 13, 2021 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IronCore864/8c06f1adc7e1a94eff84fa421450d7dd to your computer and use it in GitHub Desktop.
Save IronCore864/8c06f1adc7e1a94eff84fa421450d7dd to your computer and use it in GitHub Desktop.
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