Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIGW gets stuck and doesn't redeploy #9

Open
ivancasco-sg opened this issue Jan 17, 2023 · 0 comments
Open

APIGW gets stuck and doesn't redeploy #9

ivancasco-sg opened this issue Jan 17, 2023 · 0 comments
Assignees

Comments

@ivancasco-sg
Copy link
Contributor

Expected Behavior

API Gateway redeploys when there's a significant change.

Actual Behavior

It doesn't redeploy when there are changes and the SFTP server doesn't work.

Steps to Reproduce the Problem

Specifications

  • Version:
  • Platform:
  • Subsystem:

We have to implement something like this to fix it:
`resource "aws_api_gateway_deployment" "example" {
rest_api_id = aws_api_gateway_rest_api.example.id

triggers = {
redeployment = sha1(jsonencode(aws_api_gateway_rest_api.example.body))
}

lifecycle {
create_before_destroy = true
}
}`

@ivancasco-sg ivancasco-sg self-assigned this Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant