I'm running into the following issue trying to import a local file:
resources:
- ${file(resources/dynamo/UsersSubscriptionTable.yml):UsersSubscriptionTable}
The linter isn't liking this format. What could I be missing? I've tried a dozen different combinations of this.
Adjacent file:
UsersSubscriptionTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: MyCoolTable
BillingMode: PAY_PER_REQUEST
AttributeDefinitions:
- AttributeName: email
AttributeType: S
# Specifies the email as the partition key (primary key)
KeySchema:
- AttributeName: email
KeyType: HASH


I'm running into the following issue trying to import a local file:
The linter isn't liking this format. What could I be missing? I've tried a dozen different combinations of this.
Adjacent file: