Merge pull request #87 from Sea-Haven-Industries/fix/hcptf-procurement-ingest-tagging
Some checks are pending
Deploy / deploy-management (push) Waiting to run
Deploy / deploy-external-dev (push) Waiting to run
Deploy / deploy-security (push) Waiting to run
Deploy / deploy-dev (push) Waiting to run
Deploy / deploy-prod (push) Waiting to run

fix(iam): allow API GW and ESM tagging for procurement-ingest (PLAT-86)
This commit is contained in:
Adam Moussa 2026-08-07 11:09:25 -04:00 • committed by GitHub
commit eb2fcfd40b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1180,6 +1180,10 @@ Resources:
Action:
- lambda:GetEventSourceMapping
- lambda:ListTags
# Tag/Untag on ESM UUID ARNs do not carry FunctionArn in the
# request context (provider default_tags on import).
- lambda:TagResource
- lambda:UntagResource
Resource: "*"
- Sid: LambdaEventSourceMappings
Effect: Allow
@ -1187,8 +1191,6 @@ Resources:
- lambda:CreateEventSourceMapping
- lambda:DeleteEventSourceMapping
- lambda:UpdateEventSourceMapping
- lambda:TagResource
- lambda:UntagResource
Resource: "*"
Condition:
"ForAnyValue:StringLike":
@ -1308,6 +1310,8 @@ Resources:
- !Sub "arn:aws:apigateway:us-east-1::/restapis/mvul1efda2/*"
- arn:aws:apigateway:us-east-1::/domainnames/procurement-api.seahaven.com
- arn:aws:apigateway:us-east-1::/domainnames/procurement-api.seahaven.com/*
# TagResource/UntagResource authorize against /tags/<arn>.
- arn:aws:apigateway:us-east-1::/tags/*
- Sid: SesReceiptRules
Effect: Allow
Action: