Skip to content

Commit

Permalink
feat: using new aws provider for tf
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Jan 5, 2024
1 parent 38f46f3 commit a4090ee
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 26 deletions.
4 changes: 4 additions & 0 deletions loadtests/lambdas/api-gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ resource "aws_api_gateway_deployment" "this" {

rest_api_id = aws_api_gateway_rest_api.sso_backend_test.id
stage_name = "test"

lifecycle {
create_before_destroy = true
}
}

resource "aws_lambda_permission" "apigw_app_test" {
Expand Down
55 changes: 29 additions & 26 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions terraform/api-gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ resource "aws_api_gateway_deployment" "this" {

rest_api_id = aws_api_gateway_rest_api.sso_backend.id
stage_name = "test"

lifecycle {
create_before_destroy = true
}
}

resource "aws_lambda_permission" "apigw_auth" {
Expand Down

0 comments on commit a4090ee

Please sign in to comment.