Skip to content

Commit

Permalink
Manually update platform-test with latest main on template-infra: 4b7…
Browse files Browse the repository at this point in the history
…9474
  • Loading branch information
rocketnova committed Jun 24, 2024
1 parent 29143ad commit 41b5d25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .template-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c273ef96c4bcfdbcbb3fa772e71f22bff544299f
4b79474ff118214c1a2c37f7a857a34754ecb547
2 changes: 1 addition & 1 deletion docs/infra/set-up-app-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Before setting up the application's environments you'll need to have:
1. [A compatible application in the app folder](https://github.com/navapbc/template-infra/blob/main/template-only-docs/application-requirements.md)
2. [Set up the AWS account that this environment is going to use](/docs/infra/set-up-aws-account.md).
3. [Configure the app](/infra/app/app-config/main.tf).
1. Make sure you update `has_database` to `true` or `false` depending on whether or not your application has a database to integrate with.
1. Make sure you update `has_database` to `true` or `false` (defaults to `true`) depending on whether or not your application has a database to integrate with.
2. Make sure you update `has_external_non_aws_service` to `true` or `false` depending on whether your application utilizes any non-AWS services. Other applications within the same git repo count as external services, so if your application makes API calls to another application service in the same git repo, set `has_external_non_aws_service` to `true`.
3. If you're configuring your production environment, make sure to update the `service_cpu`, `service_memory`, and `service_desired_instance_count` settings based on the project's needs. If your application is sensitive to performance, consider doing a load test.
4. Make sure your application environment is using the AWS Account you want to use by checking the `account_name` property in the environment configuration and updating it if necessary.
Expand Down
4 changes: 4 additions & 0 deletions docs/infra/set-up-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The database setup process will:
4. Create an [AWS Lambda function](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html), the "role manager", for provisioning the [PostgreSQL database users](https://www.postgresql.org/docs/8.0/user-manag.html) that will be used by the application service and by the migrations task.
5. Invoke the role manager function to create the `app` and `migrator` Postgres users.

## Important note

This is an optional step that can be skipped if the application does not have a database.

## Requirements

Before setting up the database you'll need to have:
Expand Down

0 comments on commit 41b5d25

Please sign in to comment.