Error deploying Medplum on AWS – CDK bootstrap iss...
# support
t
Hi all, I'm trying to set up a Medplum instance on AWS. When I run the command (npx cdk deploy --all -c config=medplum.demo.config.json) and I get the following error. Could anyone provide guidance on this? I’d really appreciate it! MedplumMed: SSM parameter /cdk-bootstrap/hnb659fds/version not found. Has the environment been bootstrapped? Please run 'cdk bootstrap' (see https://docs.aws.amazon.com/cdk/latest/guide/bootstrapping.html)
a
So... I'm not an expert at all, but I did notice you were getting the yellow warning above the bootstrap warning... One thing you could try: You migth check the "troubleshooting" section here: https://www.medplum.com/docs/self-hosting/install-on-aws and see if that makes a difference. It tells us what to do if you get the error message... "current credentials could not be used to assume 'arn:aws:iam::[ACCOUNT_ID]:role/cdk-hnb659fds-file-publishing-role-[ACCOUNT_ID]-us-west-2', but are for the right account. Proceeding anyway."
r
Hi @tohid_77128 just as a sanity check, were you able to run the boostrap comman successfully? https://www.medplum.com/docs/self-hosting/install-on-aws#cdk-bootstrap
t
Thanks @rahul1 for getting back to me. Yes, Ive just followed the steps in your guidance and all were successfully completed except the last one which I got the error.
Hi @rahul1 , sor for the chaser, is there any other details I can share? Thanks
c
Hi @tohid_77128 - just to confirm, did you run
npx cdk bootstrap -c config=medplum.demo.config.json
? (replacing config with your filename) If you run that command again, what output do you get?
t
Hi @cody, Yes, I ran/tested it several times. To just ensure I am not doing anything wrong, I created a new one and mirrored the same names and setting mention in the guidance. Still got the error!
189 Views