diff --git a/docs/data-sources/destination.md b/docs/data-sources/destination.md index 59c7657..b9723b2 100644 --- a/docs/data-sources/destination.md +++ b/docs/data-sources/destination.md @@ -73,7 +73,9 @@ Whether the API key should be sent as a header or a query parameter Read-Only: - `access_key_id` (String, Sensitive) AWS access key id +- `region` (String) AWS region - `secret_access_key` (String, Sensitive) AWS secret access key +- `service` (String) AWS service diff --git a/docs/resources/destination.md b/docs/resources/destination.md index 82fcc5a..ca8374e 100644 --- a/docs/resources/destination.md +++ b/docs/resources/destination.md @@ -94,6 +94,11 @@ Required: - `access_key_id` (String, Sensitive) AWS access key id - `secret_access_key` (String, Sensitive) AWS secret access key +Optional: + +- `region` (String) AWS region +- `service` (String) AWS service + ### Nested Schema for `auth_method.basic_auth` diff --git a/examples/full/main.tf b/examples/full/main.tf index ae1ca07..1ee8d5d 100644 --- a/examples/full/main.tf +++ b/examples/full/main.tf @@ -9,7 +9,7 @@ variable "HEADER_FILTER_VALUES" { terraform { required_providers { hookdeck = { - source = "hookdeck/hookdeck" + source = "hookdeck/hookdeck" version = "0.5.0-beta.1" } } @@ -71,10 +71,10 @@ resource "hookdeck_destination" "aws_destination" { url = "https://mock.hookdeck.com" auth_method = { aws_signature = { - access_key_id = "some-access" + access_key_id = "some-access" secret_access_key = "some-secret" - region = "us-west-2" - service = "lambda" + region = "us-west-2" + service = "lambda" } } }