diff --git a/nextcloud.tf b/nextcloud.tf index 14036b5..863621b 100644 --- a/nextcloud.tf +++ b/nextcloud.tf @@ -5,11 +5,6 @@ provider "aws" { resource "random_pet" "name" {} -#resource "aws_s3_bucket" "bucket" { -# bucket = "nextcloud-${random_pet.name.id}" -# acl = "private" -#} - # https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/latest module "s3_bucket" { source = "terraform-aws-modules/s3-bucket/aws" @@ -37,11 +32,6 @@ module "vpc" { enable_nat_gateway = false enable_vpn_gateway = false - -# tags = { -# Terraform = "true" -# Environment = "dev" -# } } resource "tls_private_key" "n" { @@ -66,20 +56,42 @@ resource "aws_instance" "nextcloud" { key_name = aws_key_pair.n.key_name iam_instance_profile = aws_iam_instance_profile.nextcloud.name -# user_data = <