Skip to content

fix(gateway): Use Workshop Studio S3 URLs for Cognito Launch Stack button - #1925

Merged
EashanKaushik merged 1 commit into
awslabs:mainfrom
gunaven:fix/cognito-launch-stack
Aug 9, 2026
Merged

fix(gateway): Use Workshop Studio S3 URLs for Cognito Launch Stack button#1925
EashanKaushik merged 1 commit into
awslabs:mainfrom
gunaven:fix/cognito-launch-stack

Conversation

@gunaven

@gunaven gunaven commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Amazon Bedrock AgentCore Samples Pull Request

Important

  1. We strictly follow a issue-first approach, please first open an issue relating to this Pull Request.
  2. Once this Pull Request is ready for review please attach review ready label to it. Only PRs with review ready will be reviewed.

Issue number: #1922

Concise description of the PR

Changes to 00-optional-setup/README.md, because the Launch Stack buttons
point to a private staging repo URL that returns 404 for external users,
and CloudFormation rejects raw GitHub URLs with "TemplateURL must be a
supported URL." Replaced with verified Workshop Studio S3 URLs.

User experience

Before: Clicking the "Launch Stack" button results in a CloudFormation error — the templateURL points to raw.githubusercontent.com (via a private staging repo) which CloudFormation does not accept.

After: Clicking the "Launch Stack" button opens the CloudFormation console with the Cognito template pre-loaded from Workshop Studio S3. The stack deploys successfully in both us-east-1 and us-west-2.

Checklist

  • I have reviewed the contributing guidelines
  • Add your name to CONTRIBUTORS.md
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you uploading a dataset?
  • Have you documented Introduction, Architecture Diagram, Prerequisites, Usage, Sample Prompts, and Clean Up steps in your example README?
  • I agree to resolve any issues created for this example in the future.
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

…tton

The CloudFormation console rejects raw GitHub URLs with "TemplateURL
must be a supported URL." Replace the non-functional Launch Stack
buttons (pointing to a private staging repo) with verified Workshop
Studio S3 URLs that CloudFormation accepts.

Tested: stack deploys successfully via these URLs in both us-east-1 and
us-west-2, producing all expected outputs (DiscoveryUrl, GatewayClientId,
MCPClientId, TokenEndpoint, UserPoolId, etc.) required by downstream
gateway tutorials.
@EashanKaushik
EashanKaushik merged commit 0082e84 into awslabs:main Aug 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants