Open1

amplifyで定義するgraphQLのenumではスラッシュ(/)は使えない

amenashiamenashi
npx ampx sandbox

[ERROR] [BackendBuildError] Unable to deploy due to CDK Assembly Error
  ∟ Caused by: [AssemblyError] Assembly builder failed
    ∟ Caused by: [InvalidSchemaError] Syntax Error: Cannot parse the unexpected character "/".
      ∟ Caused by: [GraphQLError] Syntax Error: Cannot parse the unexpected character "/".
    Resolution: Check your data schema definition for syntax and type errors.
Resolution: Check the Caused by error and fix any issues in your backend code

といわれたら、コメントとかではなくenumなどの固定値でスラッシュ(/)を含んでいないか確認が必要。