Skip to content

[BUG] Terraform cyclic dependency issue #219

@lakindu-yl

Description

@lakindu-yl

Bug Description

In aws-serverless after we do the deployment with Authorizer Lambda, we get a cyclic dependency error when we destroy/modify only the Authorizer Lambda

Steps to Reproduce

  1. Go to 'examples/aws-serverless/openai-auth'
  2. update the main.tf file to deploy an authorizer using S3Zip mode
  3. Execute 'deploy.sh local'
  4. Then comment the authorizer related section in main.tf file
  5. Then run deploy.sh local again
  6. See error

Expected Behavior

User should be able to destroy/modify only the Authorizer Lambda without any errors

Actual Behavior

The cyclic dependency error occurred

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions