mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-09-30 03:23:15 +00:00
fix(iam): allow door-unlock apply to create api domain (#126)
CreateDomainName authorizes against the /domainnames collection, so the hostname-pinned ARN cannot complete first apply.
This commit is contained in:
parent
28a064966b
commit
23d954369d
1 changed files with 8 additions and 0 deletions
|
|
@ -2387,6 +2387,14 @@ Resources:
|
|||
- !Sub "arn:aws:apigateway:us-east-1::/apis"
|
||||
- !Sub "arn:aws:apigateway:us-east-1::/apis/*"
|
||||
- !Sub "arn:aws:apigateway:us-east-1::/tags/*"
|
||||
# CreateDomainName POSTs to the collection ARN. Hostname ARNs
|
||||
# cover Get/Update/Delete and apiMappings after create.
|
||||
- Sid: HttpApiDomainCreate
|
||||
Effect: Allow
|
||||
Action:
|
||||
- apigateway:POST
|
||||
Resource:
|
||||
- arn:aws:apigateway:us-east-1::/domainnames
|
||||
- Sid: HttpApiDomain
|
||||
Effect: Allow
|
||||
Action:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue