Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EOT formatting #680

Merged
merged 2 commits into from
Jul 3, 2024
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
6 changes: 3 additions & 3 deletions infra/app/app-config/env-config/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ variable "service_memory" {
variable "service_override_extra_environment_variables" {
type = map(string)
description = <<EOT
Map that overrides the default extra environment variables defined in environment-variables.tf.
Map from environment variable name to environment variable value
EOT
Map that overrides the default extra environment variables defined in environment-variables.tf.
Map from environment variable name to environment variable value
EOT
default = {}
}
2 changes: 1 addition & 1 deletion infra/modules/domain/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variable "certificate_configs" {

`private_key` and `certificate_body` describe the certificate information for
imported certificates, which is required if `source` is 'imported'.
EOT
EOT

validation {
condition = alltrue([
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/secret/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variable "manage_method" {
Set to 'generated' to generate a random secret.
Set to 'manual' to reference a secret that was manually created and stored in AWS parameter store.
Defaults to 'generated'."
EOT
EOT
default = "generated"
validation {
condition = can(regex("^(manual|generated)$", var.manage_method))
Expand All @@ -18,5 +18,5 @@ variable "secret_store_name" {
description = <<EOT
If manage_method is 'generated', path to store the secret in AWS parameter store.
If manage_method is 'manual', path to reference the secret in AWS parameter store.
EOT
EOT
}
32 changes: 18 additions & 14 deletions infra/modules/service/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,24 @@ variable "file_upload_jobs" {
task_command = list(string)
}))
description = <<EOT
Configurations for jobs that trigger on a file uploadevent.
Each configuration is a map from the job name to an object defining the
event's source bucket ( the bucket the file was uploadedto), a
path prefix filter ( only files that match the path prefix will trigger
thejob), and the task command to run ( this overrides the CMD entrypoint
in thecontainer).
To reference the file path and bucket that triggered theevent, the task
command can optionally include the placeholder values`<object_key>`
and`<bucket_name>`. For example if task_commandis:
["python", "etl.py", "<object_key>"]
Then if an object was uploaded tos3://somebucket/path/to/file.txt, the
task will execute thecommand:
pythonetl.pypath/to/file.txt
EOT
Configurations for jobs that trigger on a file upload event.
Each configuration is a map from the job name to an object defining the
event's source bucket ( the bucket the file was uploaded to), a
path prefix filter ( only files that match the path prefix will trigger
the job), and the task command to run ( this overrides the CMD entrypoint
in the container).

To reference the file path and bucket that triggered the event, the task
command can optionally include the placeholder values`<object_key>`
and`<bucket_name>`. For example if task_command is:

["python", "etl.py", "<object_key>"]

Then if an object was uploaded tos3://somebucket/path/to/file.txt, the
task will execute the command:

python etl.py path/to/file.txt
EOT
default = {}
}

Expand Down
Loading