GithubHelp home page GithubHelp logo

Comments (8)

alcousins avatar alcousins commented on July 22, 2024

thanks for reporting this. Did you build the template yourself (ie not using one of the pre-built ones?)?

The Schema resource in the CloudFormation template pulls the AppSync Schema from S3:

Schema:
Type: AWS::AppSync::GraphQLSchema
DependsOn: GraphQLApi
Properties:
ApiId: !GetAtt GraphQLApi.ApiId
DefinitionS3Location: !Join ["",["s3://",!Join ["/", [!Join ["-", [!FindInMap ["SourceCodeBucket", "General", "S3Bucket"], !Ref "AWS::Region"]],!Join ["/", [!FindInMap ["SourceCodeBucket", "General", "RecentVideoViewAppSyncCodePrefix"], !FindInMap ["SourceCodeBucket", "General", "Version"], "appsync_schema.graphql"]]]]]]

The S3 Bucket in question is defined in the Makefile in the 'bucket' variable, and the template is copied as part of the 'make copycodeww' operation:

aws s3 cp cloudformation/appsync_schema.graphql s3://$(bucket)-$$region/qos/lambda-functions/recentvideoview-appsync-function/$(version)/ --acl public-read --profile $(profile); \

My first guess is you may not have completed this step in building the code? Apologies if there was any confusion, we've made some effort to clean up any stray artefacts in the repo that might trip up in this way, but if you've found something, please let me know how you deployed the code and i'll take steps to make this clearer/remove something that might have led you astray!

from aws-streaming-media-analytics.

virkillz avatar virkillz commented on July 22, 2024

Hi, it seems like I also cannot follow the instruction and resulting in the same error as follow:
Screen Shot 2020-12-13 at 17 15 20

I'm following the instruction in README.md
Screen Shot 2020-12-13 at 17 18 30

I download the deployment.yaml file:
https://github.com/awslabs/aws-streaming-media-analytics/blob/master/cloudformation/deployment.yaml

  • One thing I notice, it mentioned in step 3 the stack name by default is mediaqos, however, I can't see it populated or mentioned elsewhere inside the yaml file.
  • Inside hte deployment.yaml file it mention the S3 bucket name is ganeshji-codedeployus. And from the error above it looks like cloudformation cannot found the S3 bucket. Does this means I need to create it first?

Thanks.

from aws-streaming-media-analytics.

alcousins avatar alcousins commented on July 22, 2024

Ah, I think i know what's going on here. I will try to push an update. Thanks for identifying this (obvious) gap. Documentation for this project has drifted through a few different sources.

In the meantime, you can deploy the template from the following sources which have been built/tested:

https://streamingvideoanalytics.workshop.aws/intro/deploying-in-own-account.html

I'll merge in some updated references to the docs and do a cleanup.

My apologies, this is a bit of an obvious one. Will get this fixed ASAP.

from aws-streaming-media-analytics.

alcousins avatar alcousins commented on July 22, 2024

i'm working on a fix for the documentation in #20

from aws-streaming-media-analytics.

alcousins avatar alcousins commented on July 22, 2024

I have merged #20 which cleans up the documentation. The old docs referenced using the deployment.yaml file that is in the repository as your starting point, however, this file is as you've noticed, a build artifact and locked down to a specific account.

I've removed the build artifacts from the repo, blocked on gitignore, and updated the docs to reference the latest workshop documentation which includes links to pre-built templates that are hosted in public S3 buckets so can be deployed without needing to build the project yourself.

from aws-streaming-media-analytics.

alcousins avatar alcousins commented on July 22, 2024

I noticed in the first attached screenshot @ariskumara was deploying in Singapore. I've just run a quick test deploy of the template for this region in the README.md and can confirm it deployed successfully.

I'll leave this open for a few days, please let me know if you're still having trouble (or success!). If I don't hear back i'll close it as I think these documentation problems were the likely cause of the two problems noted above.

from aws-streaming-media-analytics.

virkonomy avatar virkonomy commented on July 22, 2024

Thanks. We try to launch by clicking the Launch Stack link (Singapore). I mostly worked as described (mediaqos name is pre-filled, etc).

However I got different type of failure.

Screen Shot 2020-12-21 at 07 26 19

Based on the error, do you think the Account verification is the root cause? I already open ticket to support as suggested. Once its resolved I will try again. Thanks again.

from aws-streaming-media-analytics.

alcousins avatar alcousins commented on July 22, 2024

my apologies, i missed this response, but yes, that error is caused by a new account. Following the guidance in the error should help to resolve that error.

from aws-streaming-media-analytics.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.