@fjall/components-infrastructure 28.0.0 → 28.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -547,7 +547,11 @@ export class RelationalDatabase extends Construct {
547
547
  // resource is always a snapshot ARN, which only the prefix glob below
548
548
  // can match — never the instance/cluster ARN.
549
549
  triple.deleteAction,
550
- "rds:AddTagsToResource"
550
+ "rds:AddTagsToResource",
551
+ // The runner mirrors the database's cost-allocation tags onto each
552
+ // premigrate snapshot; an explicit `Tags` on CreateDBSnapshot
553
+ // suppresses RDS's CopyTagsToSnapshot copy, so it reads them itself.
554
+ "rds:ListTagsForResource"
551
555
  ],
552
556
  resources: [
553
557
  target.arn,
@@ -128,7 +128,7 @@ export interface IRelationalDatabaseBase extends IDatabase, IConnectable, IMigra
128
128
  /**
129
129
  * Returns the IAM PolicyStatement granting the migration runner the rights
130
130
  * needed to take, tag, describe, and prune pre-migration snapshots of this
131
- * database. Actions and resource ARN segment derive from
131
+ * database, and to read the database's own tags for mirroring onto them. Actions and resource ARN segment derive from
132
132
  * `this.getSnapshotTarget().kind`. Snapshot name glob is bound to
133
133
  * `MIGRATION_SNAPSHOT_NAME_PREFIX`; the delete action can only ever match
134
134
  * that glob (a Delete request's resource is a snapshot ARN, never the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjall/components-infrastructure",
3
- "version": "28.0.0",
3
+ "version": "28.1.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/fjall-tech/fjall.git",
@@ -78,8 +78,8 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "@aws-sdk/client-organizations": "^3.1098.0",
81
- "@fjall/generator": "^28.0.0",
82
- "@fjall/util": "^28.0.0",
81
+ "@fjall/generator": "^28.1.1",
82
+ "@fjall/util": "^28.1.1",
83
83
  "constructs": "^10.7.2",
84
84
  "zod": "^4.4.3"
85
85
  },