S3 Data Storage (#1)
Using the storage options [here](https://docs.gitea.com/administration/config-cheat-sheet#storage-storage), this commit pushes all packages, avatars, and LFS files to S3. - Uses AWS S3. - Frees up storage on EC2 instance, so packages do not eventually steal all of the free space. Reviewed-on: #1 Co-authored-by: Max <git@maximhutz.me> Co-committed-by: Max <git@maximhutz.me>
This commit is contained in:
@@ -18,7 +18,7 @@ resource "aws_instance" "this" {
|
||||
subnet_id = module.vpc.public_subnets[0]
|
||||
|
||||
user_data = file("install.sh")
|
||||
user_data_replace_on_change = false
|
||||
user_data_replace_on_change = true
|
||||
|
||||
iam_instance_profile = aws_iam_instance_profile.ssm.name
|
||||
vpc_security_group_ids = [aws_security_group.public_access.id]
|
||||
|
||||
Reference in New Issue
Block a user