Last active
December 18, 2019 12:43
-
-
Save TheoLeanse/86ae0db16494e4207d097f95b35a80bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
version = "~> 2.0" | |
region = "eu-west-1" | |
} | |
variable "user_name" { | |
default = "TODO" | |
} | |
resource "aws_s3_bucket" "s3_bucket" { | |
bucket = "talkin-terraform-${var.user_name}" | |
acl = "public-read" | |
} | |
output "bucket_domain_name" { | |
value = "${aws_s3_bucket.s3_bucket.bucket_domain_name}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment