JetBrains / kotless

Kotlin Serverless Framework
Apache License 2.0
1.15k stars 57 forks source link

`aws_api_gateway_integration` fails after changing endpoint method from GET to POST #77

Open matthewbartos opened 3 years ago

matthewbartos commented 3 years ago

After changing endpoint method type from GET to POST, gradle deploy fails.

Adding:

    extensions {
        terraform {
            allowDestroy = true

to build.gradle.kts does not fix the issue.

Error log:

aws_api_gateway_deployment.root: Refreshing state... [id=zx6tdi]

Error: Cycle: aws_api_gateway_integration.users_find_user_get (destroy), aws_api_gateway_deployment.root, aws_api_gateway_deployment.root (destroy deposed 93f945ca)
matthewbartos commented 3 years ago

Kotless version: 0.1.7-beta-4 🙂

msiemens commented 3 years ago

This issue seems to persist with 0.1.7-beta-5 for me