Skip to content

Template tests: HIGH-tier Retain policy, injector tiering default, LOW-tier tag #48

Description

@alphacrack

Three specific behaviors are currently untested at the synthesized-template level:

  1. HIGH tier retains data: SecureBucket at HIGH should produce DeletionPolicy: Retain (and UpdateReplacePolicy: Retain) on the bucket resource — the "can't accidentally delete production data" guarantee.
  2. Injector intelligent-tiering default: SecureBucketDefaults injects a default-tiering intelligent-tiering configuration (archive 90d / deep archive 180d) when the caller supplies none — no test asserts it appears in the template, nor that a caller-supplied configuration wins.
  3. LOW-tier tag: the SecurityLevel: Low tag value on a LOW-tier bucket (HIGH's tag is covered; the lowercase-to-capitalized conversion path for other tiers is not).

Each is a small, independent template assertion — fine to land as one PR or three tiny ones.

Acceptance criteria

  • All three behaviors are locked in by template assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerss3Relates to the S3 SecureBucket resourcetestsTest coverage and test infrastructure

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions