Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateURL must be a supported URL. #1

Open
christopheraustin1231 opened this issue Sep 20, 2023 · 2 comments
Open

TemplateURL must be a supported URL. #1

christopheraustin1231 opened this issue Sep 20, 2023 · 2 comments

Comments

@christopheraustin1231
Copy link

I keep getting the following error when attempting to deploy the master template:

TemplateURL must be a supported URL:

TemplateURL: "!Sub s3://cf-templates-1e1gy8XXXXXXX-us-east-1/incident-response-lab-01-production-vpc.yaml"

I have tried to do some looking around (aws cloudformation deploy fails with nested stack: "TemplateURL must be an Amazon S3 URL." #3200) but I cant seem to figure out what I am doing wrong. Is this a bug or something like that. Based on the README I didnt think I was going to have any issues with the nested stacks.

Thank you.

@mlnrt
Copy link
Owner

mlnrt commented Sep 21, 2023

Hello,
Thank you for trying to play with this demo. It is 3 years old though and should be fully re-written.
I would have to try it again myself but I don't understand the error because the code (see here) is suppose to substitute the bucket name and region in an https:// S3 URL.
But in your error message it shows an s3:// URL and it seems to take the !Sub command in the TemplateUrl string. Did you change something in the code to try to fix a previous issue?

@christopheraustin1231
Copy link
Author

Thank you for the quick reply. I did make some changes to the URLS based on my attempts to deploy the template failing. I have tried it a few different times and each time I get a little closer to getting it right, but it has also escaped my mind what led me to changing them the first go around. I am going to give it a go again without editing the URLs and see how it goes. I will report back here once I am done.

Thank you for the quick response. I am enjoying this project. I am very new at all this so this is a learning experience for me.

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

No branches or pull requests

2 participants