iot-device-simulator icon indicating copy to clipboard operation
iot-device-simulator copied to clipboard

update-stack fails with "Application name update feature has been deprecated"

Open schulh opened this issue 1 year ago • 1 comments

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

  1. Deploy the solution according to the docs
  2. Make modifications to the code
  3. 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

schulh avatar Mar 15 '24 15:03 schulh

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.

amohames avatar Mar 20 '24 19:03 amohames