iot-device-simulator
iot-device-simulator copied to clipboard
update-stack fails with "Application name update feature has been deprecated"
Describe the bug
When running the aws cloudformation update-stack command, Cloudformation returns the following error:
Resource handler returned message: "Application name update feature has been deprecated. (Service: ServiceCatalogAppRegistry, Status Code: 400
To Reproduce
- Deploy the solution according to the docs
- Make modifications to the code
- Run the update-stack command
aws cloudformation update-stack \
--region ${REGION} \
--template-url https://${DIST_BUCKET_PREFIX}-${REGION}.s3.amazonaws.com/${SOLUTION_NAME}/${VERSION}/iot-device-simulator.template \
--stack-name ${CF_STACK_NAME}-${CI_COMMIT_REF_SLUG} \
--capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND \
--parameters ParameterKey=UserEmail,ParameterValue=${INITIAL_USER}
Expected behavior
The update-stackcommand should apply the updates.
Please complete the following information about the solution:
- [x] Version: [v3.0.5]
- [x] Region: [eu-central-1]
- [x] Was the solution modified from the version published on this repository?
- [ ] If the answer to the previous question was yes, are the changes available on GitHub?
- [ ] Have you checked your service quotas for the sevices this solution uses?
- [] Were there any errors in the CloudWatch Logs?
Additional context I'm running the update-stack action from within a Gitlab Pipeline using the aws-cli:latest image
Application registration updates were disabled, resulting in your failure. If the application name has changed, our recommendation is to deploy the solution with a new stack name.