Skip to content

Unable to include a local file #150

@Schachte

Description

@Schachte

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

image

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions