Skip to content
Merged
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
6 changes: 6 additions & 0 deletions aws/eb-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ Mappings:
"jwtIssuer": "https://lti.canvas.ox.ac.uk"
"jwtJWKSURI": "https://lti.canvas.ox.ac.uk/.well-known/jwks.json"
"ltiIssuer": "https://lti.canvas.ox.ac.uk"
"uiFrontendUrl": "https://tools-support-prod.canvas-tools.app"
beta:
"mngdUpdates": "MON:06:00"
# We have an additional profile that unsets things on the non-prod account
"springProfile": "aws,nonprod" #SPRING_PROFILES_ACTIVE
"jwtIssuer": "https://lti-dev.canvas.ox.ac.uk"
"jwtJWKSURI": "https://lti-dev.canvas.ox.ac.uk/.well-known/jwks.json"
"ltiIssuer": "https://lti-dev.canvas.ox.ac.uk"
"uiFrontendUrl": "https://tools-support-beta.canvas-tools.app"

Conditions:
isProd: {"Fn::Equals": [!Ref envType, "prod"]}
Expand Down Expand Up @@ -273,6 +275,10 @@ Resources:
# The iss that we sign our issued tokens with.
OptionName: "LTI_ISSUER"
Value: !FindInMap [ EnvironmentMappings, !Ref envType, ltiIssuer ]
- Namespace: "aws:elasticbeanstalk:application:environment"
# The frontend URL that should be able to make requests to the admin backend.
OptionName: "ADMIN_CORS_ORIGINS"
Value: !FindInMap [ EnvironmentMappings, !Ref envType, uiFrontendUrl ]
# At one point this used to be in a different configuration template but cloudformation doesn't update
# templates that use `SourceConfiguration` so it was un-updatable. These options are now included in the main
# configuration template
Expand Down