aws / aws/serverless-application-model
missing validation error with Domain HostedZoneId
Open
area/resource/api
area/validation
maintainer/need-response
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 2.5k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 7
Description
**Description:**
I missed to nested `HostedZoneId` under `Route53` and didn't get an validation error.
**Steps to reproduce the issue:**
1. create a stack with
```yaml
Resources:
ApiGateway:
Type: AWS::Serverless::Api
Properties:
Name: FooBar
StageName: Prod
Domain:
DomainName: !Ref Domain
CertificateArn: !Ref CertificateArn
HostedZoneId: Z1WXXXXXXC4O
```
2. deploy the stack
**Observed result:**
Deploy without creating an creating a domain.
**Expected result:**
An validation error.
**SAM Version**
1.20.0
Contributor guide
Assessment
This issue has not been assessed yet.