aws-solutions / iot-device-simulator

The IoT Device Simulator solution is a Graphical User Interface (GUI) based engine designed to enable customers to get started quickly assessing AWS IoT services without an existing pool of devices. The IoT Device Simulator helps effortlessly create and simulate thousands of connected devices that are defined by the customer.
https://aws.amazon.com/solutions/implementations/iot-device-simulator/
Apache License 2.0
161 stars 83 forks source link

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

Open schulh opened 8 months ago

schulh commented 8 months ago

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:

Additional context I'm running the update-stack action from within a Gitlab Pipeline using the aws-cli:latest image

amohames commented 7 months ago

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.