Initial terraform configuration
This commit is contained in:
parent
58a1b0fd82
commit
5024cc71e4
1 changed files with 4 additions and 5 deletions
|
@ -1,14 +1,13 @@
|
|||
|
||||
provider "aws" {
|
||||
region = "us-west-2" # XXX make this configurable
|
||||
}
|
||||
|
||||
resource "random_pet" "name" {}
|
||||
|
||||
resource "aws_s3_bucket" "bucket" {
|
||||
bucket = "nextcloud-${random_pet.name.id}"
|
||||
acl = "private"
|
||||
|
||||
// tags = {
|
||||
// Name = "My bucket"
|
||||
// Environment = "Dev"
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue