Files
floci/docs
Chiara Forresi ee24c77d02 feat(lakeformation): add UpdateResource action (#2944)
* feat(lakeformation): add UpdateResource action

* fix(lakeformation): validate resource updates safely

* fix(lakeformation): synchronize registerResource and pin the register/update race

* fix(lakeformation): publish UpdateResource atomically to concurrent readers

UpdateResource mutated the stored ResourceInfo field by field while
DescribeResource and ListResources read the same object reference without
synchronization, so a concurrent reader could observe a mixed state (e.g.
new role ARN with old federation value).

Apply copy-on-write: build a defensive copy, mutate the copy, then atomically
put it back. Readers now see either the old complete state or the new
complete state, never a partial one.

Add a regression test that races DescribeResource against UpdateResource and
asserts every observed snapshot is internally consistent.

* fix(lakeformation): remove em-dash
2026-09-04 09:14:52 -04:00
..
2026-03-15 17:43:56 -05:00