#✅ - BootstrapDetectionError: Unable to detect CDK bootstrap stack due to permission issues.

1 messages · Page 1 of 1 (latest)

cunning ibex
#

Hi all, I am trying to get a backend deployed. I was fortunate enough that someone pointed out my yaml problem so hoping to find some more help here. I am getting the error listed in the title in my amplify build. I also get a note stating the following: Ensure that AWS credentials have an IAM policy that grants read access to 'arnawsssm:::parameter.

I checked IAM and tried to add permissions to fix this, but do not see any. I had already made an App_admin user that has AdministratorAccess and AdministratorAccess-Amplify. This account gets used for setting up all other areas in aws. But I am not seeing why it is not working here or how to link it to this aws deployment. Any help is appreciated

orchid shoal
#

👋 out of curiosity is this from within a monorepo env? When you view the app settings do you see a "service role" attached to the app?

cunning ibex
#

this is not a monorepo and I was missing a service role in the settings. I am rebuilding it now it should work. Thanks

#

I work in so many systems its hard to remember them all I am happy there are helpful people in these discords. Thank you so much

orchid shoal
#

ah, we're investigating an issue where -- depending on the monorepo setup -- the service role selection doesn't show. let me know if the build goes through!

#

as a follow-up question, was this a repo that did not have a backend defined when it was originally connected to Amplify Hosting?

cunning ibex
#

yes. I have built another project from the ground up including amplify hosting and it went effortlessly. This was already a website before and I am retrofitting amplify features into it. Much more difficult

#

well not much more difficult, but not as clear and there isn't documentation that would include some of these things to look for

#

The dev branch of my build was just successful. So I am good to go. Thanks

orchid shoal
#

ah okay, we'll look to update our troubleshooting docs for this case, but I'm glad to hear you're back up and running!

soft rain
minor zealotBOT
#

✅ - BootstrapDetectionError: Unable to detect CDK bootstrap stack due to permission issues.