fix(infra): keep instance boundary description to avoid IAM replace (PLAT-206)

Changing aws_iam_policy.description forces replacement. The live policy is
attached, so keep the original description and version the document in place.
This commit is contained in:
Adam Moussa 2026-09-17 15:19:37 -04:00
parent 58f69b1af1
commit 24f5962630
No known key found for this signature in database

View file

@ -134,7 +134,7 @@ resource "aws_iam_policy" "instance_boundary" {
# checkov:skip=CKV_AWS_111: SSM managed policy requires Resource=* for ssmmessages and describe APIs. Firehose and S3 writes are ARN-prefixed.
name = local.boundary_name
path = "/tf-managed/"
description = "Per-workload permissions boundary for syslog-server EC2 and Firehose (PLAT-206)."
description = "Per-workload EC2 permissions boundary for syslog-server (PLAT-78)."
policy = data.aws_iam_policy_document.instance_boundary.json
}