Open charris-msft opened 2 years ago
Deployment template validation failed
@charris-msft In fact, this is a verification error in phase preflight. At this time, the error has been notified in advance before the real resource deployment. Therefore, I think this has prompted this error before creating the resource. Do you have any other suggestions for this?
This is autogenerated. Please review and update as needed.
Describe the bug
There was an error because my project name was too long. I incremented it after a previous failure from todo-python-mongo2 to todo-python-mongo2 which exceeded the length limit.
We should check for this and error out as early as possible, like when we prompt the user for it. In addition, we should only suggest a name that will meeting the length (and other) requirements, regardless of what the parent folder is called.
Command Name
az deployment sub create
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az deployment sub create --only-show-errors -n {} -l {} -f {} -p {} -o {}
Expected Behavior
Environment Summary
Additional Context