cds-snc / notification-planning-core

Project planning for GC Notify Core Team
0 stars 0 forks source link

Add target_prefix to logging section of s3 buckets #317

Open ben851 opened 3 months ago

ben851 commented 3 months ago

Description

As a developer of notify, I would like our infrastructure code to deploy from scratch so that I can be sure that the system is constantly ready for disaster recovery. There has been a change in the AWS api that requires s3 bucket logs to include a target_prefix that is causing terraform to crash on new environments.

WHY are we building?

BCP, Disaster Recovery, Reliability improvements

WHAT are we building?

Add target_prefix = var.env in the logging section of all s3 buckets in notification-terraform with logging enabled.

VALUE created by our solution

Increased reliability and security

Acceptance Criteria

QA Steps