diff --git a/backend/src/tasks/functions.yml b/backend/src/tasks/functions.yml index f14b2280..84b5d62d 100644 --- a/backend/src/tasks/functions.yml +++ b/backend/src/tasks/functions.yml @@ -1,11 +1,4 @@ --- -cloudwatchToS3: - handler: src/tasks/cloudwatchToS3.handler - timeout: 900 - events: - - schedule: rate(4 hours) - reservedConcurrency: 1 - memorySize: 4096 scheduler: handler: src/tasks/scheduler.handler diff --git a/frontend/env.yml b/frontend/env.yml index 9148d784..68f4a931 100644 --- a/frontend/env.yml +++ b/frontend/env.yml @@ -1,11 +1,6 @@ --- dev: FRONTEND_DOMAIN: '' - RESOURCE_POLICY: - - Effect: Allow - Principal: '*' - Action: execute-api:Invoke - Resource: execute-api:/${self:provider.stage}/*/* ENDPOINT_TYPE: REGIONAL VPC_ENDPOINT: dummy REGION: us-east-1 @@ -13,11 +8,6 @@ dev: staging-cd: REGION: us-east-1 ENDPOINT_TYPE: REGIONAL - RESOURCE_POLICY: - - Effect: Allow - Principal: '*' - Action: execute-api:Invoke - Resource: execute-api:/${self:provider.stage}/*/* DOMAIN: staging-cd.crossfeed.cyber.dhs.gov COGNITO_URL: https://cognito-idp.us-east-1.amazonaws.com BACKEND_DOMAIN: https://api.staging-cd.crossfeed.cyber.dhs.gov @@ -27,11 +17,6 @@ staging-cd: integration: REGION: us-east-1 ENDPOINT_TYPE: REGIONAL - RESOURCE_POLICY: - - Effect: Allow - Principal: '*' - Action: execute-api:Invoke - Resource: execute-api:/${self:provider.stage}/*/* DOMAIN: integration.crossfeed.cyber.dhs.gov COGNITO_URL: https://cognito-idp.us-east-1.amazonaws.com BACKEND_DOMAIN: https://api.integration.crossfeed.cyber.dhs.gov @@ -41,7 +26,6 @@ integration: staging: REGION: us-gov-east-1 ENDPOINT_TYPE: PRIVATE - RESOURCE_POLICY: test DOMAIN: staging.crossfeed.cyber.dhs.gov VPC_ENDPOINT: ${ssm:/crossfeed/staging/BACKEND_VPC_ENDPOINT} COGNITO_URL: https://cognito-idp.us-gov-west-1.amazonaws.com