Error while running CloudFormation

there was an error while trying to execute the CloudFormation command. what does this mean ? the S3 - bucket exists I checked it.

bash-4.2# aws cloudformation package --template-file template.yml --s3-bucket docker-on-aws-raggadaz --output-template-file .template.yml

Unable to upload artifact ./node_modules/@cfn-modules/alerting/module.yml referenced by TemplateURL parameter of Alerting resource.
TemplateURL parameter of Alerting resource is invalid. It must be a S3 URL or path to CloudFormation template file. Actual: /src/demo-app/aws/node_modules/@cfn-modules/alerting/module.yml

Hi Sascha,

looks like you missed running npm i in the aws folder?
Let me know if that fixes the issue for you.


Hallo Michael,
danke für deine Antwort.
ja der npm i befehlt kommt mit einem Fehler zurück:

bash-4.2# npm i

npm WARN saveError ENOENT: no such file or directory, open ‘/src/package.json’

npm notice created a lockfile as package-lock.json. You should commit this file.

npm WARN enoent ENOENT: no such file or directory, open ‘/src/package.json’

npm WARN src No description

npm WARN src No repository field.

npm WARN src No README data

npm WARN src No license field.

up to date in 0.542s

found 0 vulnerabilities


:de: Bist du im aws Ordner? Also z.B. cd php-basic/aws/?

:us: Are you working inside php-basic/aws?

Oh mea culpa - ja manchmal sollte man das auch genau lesen - sorry. Das war es - jetzt gehts weiter

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.