I am trying out OpenRemote stack by through the AWS marketplace method.
However, I always get the following error:
"errorCode": "Client.DependencyViolation", "errorMessage": "Network vpc-xxxxxxxxxxxxxxxxx has some mapped public address(es). Please unmap those public address(es) before detaching the gateway.",
Other than the stack name, keypair (have my own) and the instance type (t4g.large), I did not change anything on the AWS cloudformation page that AWS marketplace leads me to when clicking the launch with cloudformation button
I tried to reproduce this error, and it seems there is an issue with the script that deploys OpenRemote. As a result, OpenRemote couldn’t be started.
If the script doesn’t send a SUCCESS signal within 10 minutes, the deployment is considered failed and CloudFormation will rollback the stack to it’s original state.
In your case, CloudFormation has entered the rollback state and is attempting to delete the resources associated with the stack, but it was unable to complete the process because of an issue with the VPC.
Could you please try to trigger the deletion of the CloudFormation stack again?
Meanwhile, I’m investigating the root cause of the script failure and will try to release a fix soon.
I’ve implemented a fix that is now available in the AWS Marketplace.
To use it, You’ll need to redeploy the stack with the updated CloudFormation template.