Skip to content

Commit

Permalink
feat: add additional attribute settings for kinesis_settings endpoi…
Browse files Browse the repository at this point in the history
…nt configuration block

- Add `include_transaction_details`, `include_partition_value`, `partition_include_schema_table`, `include_table_alter_operations`, `include_control_details` and `include_null_and_empty arguments` to `kinesis_settings` configuration block
- Update Terraform AWS provider version to support attributes added
  • Loading branch information
bryantbiggs committed Dec 22, 2021
1 parent e626630 commit 922a706
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.62.2
rev: v1.62.3
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@ Security scanning results provided by Bridgecrew. Bridgecrew is the leading full
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.62 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.64 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.62 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.64 |

## Modules

Expand Down
4 changes: 2 additions & 2 deletions examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ Note that this example may create resources which will incur monetary charges on
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.62 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.64 |
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 3.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.62 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.64 |
| <a name="provider_random"></a> [random](#provider\_random) | >= 3.0 |

## Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/complete/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.62"
version = ">= 3.64"
}
random = {
source = "hashicorp/random"
Expand Down
12 changes: 9 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,15 @@ resource "aws_dms_endpoint" "this" {
dynamic "kinesis_settings" {
for_each = can(each.value["kinesis_settings"]) ? [each.value.kinesis_settings] : []
content {
message_format = lookup(kinesis_settings.value, "message_format", null)
service_access_role_arn = lookup(kinesis_settings.value, "service_access_role_arn", null)
stream_arn = lookup(kinesis_settings.value, "stream_arn", null)
include_control_details = lookup(kinesis_settings.value, "include_control_details", null)
include_null_and_empty = lookup(kinesis_settings.value, "include_null_and_empty", null)
include_partition_value = lookup(kinesis_settings.value, "include_partition_value", null)
include_table_alter_operations = lookup(kinesis_settings.value, "include_table_alter_operations", null)
include_transaction_details = lookup(kinesis_settings.value, "include_transaction_details", null)
message_format = lookup(kinesis_settings.value, "message_format", null)
partition_include_schema_table = lookup(kinesis_settings.value, "partition_include_schema_table", null)
service_access_role_arn = lookup(kinesis_settings.value, "service_access_role_arn", null)
stream_arn = lookup(kinesis_settings.value, "stream_arn", null)
}
}

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.62"
version = ">= 3.64"
}
}
}

0 comments on commit 922a706

Please sign in to comment.