Skip to content

fix: update setup-account.sh to use correct path and create fresh .en…#9

Open
AchyuthaHarish wants to merge 4 commits intomainfrom
fix/setup-account-script
Open

fix: update setup-account.sh to use correct path and create fresh .en…#9
AchyuthaHarish wants to merge 4 commits intomainfrom
fix/setup-account-script

Conversation

@AchyuthaHarish
Copy link
Contributor

No description provided.

aws cloudformation create-stack \
--stack-name ${ENVIRONMENT_NAME}-nextflow-launcher-setup \
--template-body file://../setup-account.yaml \
--template-body file://setup-account.yaml \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is still missing.

Error parsing parameter '--template-body': Unable to load paramfile file://setup-account.yaml: [Errno 2] No such file or directory: 'setup-account.yaml'
Waiting for stack creation to complete...

Can you please check your .gitignore? Perhaps, some of your local files are not being pushed to GitHub?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AchyuthaHarish
Copy link
Contributor Author

setup-account.yaml was added now. I noticed that another gitignore entry was creating this issue. Should be fixed now

@AchyuthaHarish
Copy link
Contributor Author

@GallVp Let me know if this works

@GallVp
Copy link

GallVp commented Jun 9, 2025

@AchyuthaHarish

Can you kindly clone this branch in a new empty folder and try to follow the instructions?

There are still a couple of issues that remain,

  1. The instructions state that,
cd mv-launcher-api
./setup-account.sh dev

But the setup-account.sh inside the mv-launcher-api directory point to file://setup-account.yaml which does not exists.

  1. I can see that you have pushed a setup-account.sh and a setup-account.yaml file to the root directory, but when I do the following from the root directory,
./setup-account.sh dev

I get,

Creating CloudFormation stack for account setup...

An error occurred (InsufficientCapabilitiesException) when calling the CreateStack operation: Requires capabilities : [CAPABILITY_NAMED_IAM]
Waiting for stack creation to complete...

Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: Matched expected service error code: ValidationError
Getting stack outputs...

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