Commit fc6188ca authored by Andreas Brandl's avatar Andreas Brandl

Move bucket to gstg-gprd env.

parent 329632fe
......@@ -593,23 +593,3 @@ module "virtual-machines-monitoring" {
first_user_password = "${var.first_user_password}"
gitlab_net_zone_id = "${var.gitlab_net_zone_id}"
}
resource "aws_s3_bucket" "postgres-archive-replica" {
bucket = "gitlab-dbprod-backups-replica"
region = "eu-central-1"
acl = "private"
versioning {
enabled = true
}
lifecycle_rule {
id = "pitr"
prefix = "postgres-02/"
enabled = true
expiration {
days = 30
}
}
}
......@@ -1125,3 +1125,23 @@ module "gitlab_object_storage" {
gcs_storage_analytics_group_email = "${var.gcs_storage_analytics_group_email}"
source = "../../modules/google/storage-buckets"
}
resource "aws_s3_bucket" "postgres-archive-replica" {
bucket = "gitlab-postgres-backups-${var.environment}-replica"
region = "eu-central-1"
acl = "private"
versioning {
enabled = true
}
lifecycle_rule {
id = "backups"
prefix = "postgres-02/"
enabled = true
expiration {
days = 30
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment