Open v79 opened 3 years ago
The workaround is to manually delete the test_delete
method from the API gateway manually, then redeploy.
I just encountered the same problem with the same technologies: Kotless 0.2.0, Ktor 1.5.0, AWS, Windows 10x64
Perhaps this can be of use: https://github.com/hashicorp/terraform-provider-aws/issues/11344
@v79 Thanks for the workaround suggestion.
If I create a simple Ktor route in a Kotless project, e.g.:
This deploys successfully to AWS and appears in the API gateway as expected.
But if I then delete the route entirely, and redeploy, the deployment fails. The stacktrace isn't particularly helpful:
To get more information, I tried executing
terraform apply
manually, which returned the following errors:Perhaps some sort of circular depedency?
Kotless 0.2.0, Ktor 1.5.0, AWS, Windows 10 x64.