diff --git a/nextcloud.tf b/nextcloud.tf index 9f279b1..f3dde6c 100644 --- a/nextcloud.tf +++ b/nextcloud.tf @@ -58,6 +58,8 @@ resource "aws_instance" "nextcloud" { # associate_public_ip_address = false + vpc_security_group_ids = [ module.nextcloud_sg.security_group_id ] + user_data = <