mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-03 10:23:12 +00:00
chore(infra): tag legacy WO tables pending PLAT-11 destroy (#177)
Force an in-place DynamoDB update so HCP state records prevent_destroy=false before the post-soak resource removal.
This commit is contained in:
parent
7d0f272901
commit
5464d66d19
1 changed files with 8 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ resource "aws_dynamodb_table" "work_orders" {
|
||||||
stream_enabled = true
|
stream_enabled = true
|
||||||
stream_view_type = "NEW_AND_OLD_IMAGES"
|
stream_view_type = "NEW_AND_OLD_IMAGES"
|
||||||
|
|
||||||
|
tags = {
|
||||||
|
Plat11 = "legacy-pending-destroy"
|
||||||
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
prevent_destroy = false
|
prevent_destroy = false
|
||||||
}
|
}
|
||||||
|
|
@ -39,6 +43,10 @@ resource "aws_dynamodb_table" "work_order_comments" {
|
||||||
stream_enabled = true
|
stream_enabled = true
|
||||||
stream_view_type = "NEW_AND_OLD_IMAGES"
|
stream_view_type = "NEW_AND_OLD_IMAGES"
|
||||||
|
|
||||||
|
tags = {
|
||||||
|
Plat11 = "legacy-pending-destroy"
|
||||||
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
prevent_destroy = false
|
prevent_destroy = false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue