Skip to content

Commit

Permalink
Merge pull request #55 from pbs/bugfix/default-runtime
Browse files Browse the repository at this point in the history
Bugfix/default runtime
  • Loading branch information
chipbell4 authored Aug 5, 2024
2 parents 5311262 + ba406de commit ab0788d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Use this URL for the source of the module. See the usage examples below for more details.

```hcl
github.com/pbs/terraform-aws-synthetics-module?ref=2.0.19
github.com/pbs/terraform-aws-synthetics-module?ref=x.y.z
```

### Alternative Installation Methods
Expand All @@ -22,7 +22,7 @@ Integrate this module like so:

```hcl
module "synthetics" {
source = "github.com/pbs/terraform-aws-synthetics-module?ref=2.0.19"
source = "github.com/pbs/terraform-aws-synthetics-module?ref=x.y.z"
zip_file = "path/to/file.zip"
Expand All @@ -48,7 +48,7 @@ The recommended workaround for this is to use something external to Terraform (l

If this repo is added as a subtree, then the version of the module should be close to the version shown here:

`2.0.19`
`x.y.z`

Note, however that subtrees can be altered as desired within repositories.

Expand Down Expand Up @@ -109,7 +109,7 @@ Below is automatically generated documentation on this Terraform module using [t
| <a name="input_handler"></a> [handler](#input\_handler) | Entry point to use for the source code when running the canary. This value must end with the string `.handler`. | `string` | `"canary.handler"` | no |
| <a name="input_name"></a> [name](#input\_name) | Name of the synthetics module. If null, will default to product. | `string` | `null` | no |
| <a name="input_run_config"></a> [run\_config](#input\_run\_config) | Configuration block for individual canary runs. | <pre>object({<br> timeout_in_seconds = optional(number)<br> memory_in_mb = optional(number)<br> active_tracing = optional(bool)<br> environment_variables = optional(map(string))<br> })</pre> | `null` | no |
| <a name="input_runtime_version"></a> [runtime\_version](#input\_runtime\_version) | Specifies the runtime version to use for the canary. For a list of valid runtime versions, see Canary Runtime Versions. | `string` | `"syn-nodejs-puppeteer-6.0"` | no |
| <a name="input_runtime_version"></a> [runtime\_version](#input\_runtime\_version) | Specifies the runtime version to use for the canary. For a list of valid runtime versions, see Canary Runtime Versions. | `string` | `"syn-nodejs-puppeteer-7.0"` | no |
| <a name="input_schedule"></a> [schedule](#input\_schedule) | Schedule for how often the canary is to run and when these test runs are to stop. | <pre>object({<br> expression = string<br> duration_in_seconds = optional(number)<br> })</pre> | <pre>{<br> "expression": "rate(5 minutes)"<br>}</pre> | no |
| <a name="input_snapshot_bucket_name"></a> [snapshot\_bucket\_name](#input\_snapshot\_bucket\_name) | Name of the bucket to store snapshots in. If null, will default to name. | `string` | `null` | no |
| <a name="input_start_canary"></a> [start\_canary](#input\_start\_canary) | Specifies whether this canary is to run after it is created. | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion optional.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ variable "schedule" {
variable "runtime_version" {
description = "Specifies the runtime version to use for the canary. For a list of valid runtime versions, see Canary Runtime Versions."
type = string
default = "syn-nodejs-puppeteer-6.0"
default = "syn-nodejs-puppeteer-7.0"
}

variable "execution_role_arn" {
Expand Down

0 comments on commit ab0788d

Please sign in to comment.