Skip to content

Commit

Permalink
Cleanup Tasks (#122)
Browse files Browse the repository at this point in the history
* Added org s3 bucket for storing lambda code

* Remove env vars from dagit and daemon that weren't needed. Added profile to org FE definition
  • Loading branch information
cyramic authored Oct 23, 2024
1 parent 994ba52 commit dda2ebc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
16 changes: 0 additions & 16 deletions infrastructure/environments/cloudformation/full/la/dagster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -479,14 +479,8 @@ Resources:
Value: !Ref DBName
- Name: DAGSTER_POSTGRES_PORT
Value: !Ref DBPort
- Name: OUTPUT_LOCATION
Value: !Ref OutputLocation
- Name: INPUT_LOCATION
Value: !Ref InputLocation
- Name: PYTHONLEGACYWINDOWSSTDIO
Value: "utf8.env"
- Name: 903_WILDCARDS
Value: "*.csv"
- Name: DAGSTER_CODE_SERVER_TASK
Value: !GetAtt CodeServerTaskDefinition.TaskDefinitionArn
Tags:
Expand Down Expand Up @@ -546,18 +540,8 @@ Resources:
Value: !Ref DBPort
- Name: DAGSTER_CODE_SERVER_TASK
Value: !GetAtt CodeServerTaskDefinition.TaskDefinitionArn
- Name: OUTPUT_LOCATION
Value: !Ref OutputLocation
- Name: INPUT_LOCATION
Value: !Ref InputLocation
- Name: PYTHONLEGACYWINDOWSSTDIO
Value: "utf8.env"
- Name: 903_WILDCARDS
Value: "*.csv"
- Name: INPUT_LOCATION_903
Value: !Sub "${OutputLocation}/Current"
- Name: INPUT_LOCATION
Value: !Ref InputLocation
Tags:
- Key: Project
Value: !Ref ProjectName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ Resources:
- "s3:GetObjectVersion"
Resource:
- !Ref InputLocationArn
- !Sub "${InputLocationArn}/*"

ManagedPolicyArns: # These need to be peared down for security reasons. What is necessary?
- arn:aws:iam::aws:policy/CloudWatchFullAccess
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Resources:
- "openid"
- "email"
- "aws.cognito.signin.user.admin"
- "profile"
SupportedIdentityProviders:
- !Sub "${ApplicationName}-${OrganisationName}-AzureADProvider-${EnvironmentName}"
AllowedOAuthFlowsUserPoolClient: true
Expand Down

0 comments on commit dda2ebc

Please sign in to comment.