Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ dev_health_check:
prod_health_check:
curl -f https://core.acm.illinois.edu/api/v1/healthz && curl -f https://core.acm.illinois.edu

lock_terraform: init_terraform
lock_terraform:
terraform -chdir=terraform/envs/qa providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=darwin_arm64 -platform=linux_amd64 -platform=linux_arm64
terraform -chdir=terraform/envs/prod providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=darwin_arm64 -platform=linux_amd64 -platform=linux_arm64
9 changes: 0 additions & 9 deletions cloudformation/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ Mappings:
- subnet-0cbe89f6ab2665610

Resources:
AppLambdaWarmer:
Type: AWS::Serverless::Application
DependsOn:
- AppApiLambdaFunction
Properties:
Location: ./warmer.yml
Parameters:
FunctionToWarm: !Sub ${ApplicationPrefix}-lambda

AppSecurityRoles:
Type: AWS::Serverless::Application
Properties:
Expand Down
95 changes: 0 additions & 95 deletions cloudformation/warmer.yml

This file was deleted.

23 changes: 23 additions & 0 deletions terraform/envs/prod/.terraform.lock.hcl

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

5 changes: 5 additions & 0 deletions terraform/envs/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,8 @@ resource "aws_dynamodb_table" "app_audit_log" {
enabled = true
}
}

module "lambda_warmer" {
source = "github.com/acm-uiuc/terraform-modules/lambda-warmer?ref=v0.1.1"
function_to_warm = "infra-core-api-lambda"
}
23 changes: 23 additions & 0 deletions terraform/envs/qa/.terraform.lock.hcl

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

6 changes: 6 additions & 0 deletions terraform/envs/qa/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ terraform {
}
}


provider "aws" {
region = "us-east-1"
default_tags {
Expand Down Expand Up @@ -64,3 +65,8 @@ resource "aws_dynamodb_table" "app_audit_log" {
enabled = true
}
}

module "lambda_warmer" {
source = "github.com/acm-uiuc/terraform-modules/lambda-warmer?ref=v0.1.1"
function_to_warm = "infra-core-api-lambda"
}
Loading