cloudposse / terraform-aws-dynamodb

Terraform module that implements AWS DynamoDB with support for AutoScaling
https://cloudposse.com/accelerate
Apache License 2.0
86 stars 113 forks source link

fix: required aws provider version update #108

Closed ivanmartos closed 2 years ago

ivanmartos commented 2 years ago

what

Update required aws provider version

why

Changes introduced in https://github.com/cloudposse/terraform-aws-dynamodb/pull/107 require aws provider functionality added in https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#4220-july--8-2022

This is current terraform plan output with old aws provider

Error: Unsupported argument

  on .terraform/modules/example.foo_table/main.tf line 112, in resource "aws_dynamodb_table" "default":
 112:       propagate_tags         = false

An argument named "propagate_tags" is not expected here.

Error: Unsupported argument

  on .terraform/modules/example.foo_table/main.tf line 113, in resource "aws_dynamodb_table" "default":
 113:       point_in_time_recovery = false

An argument named "point_in_time_recovery" is not expected here.

references

Release notes for aws provider https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#4220-july--8-2022

Benbentwo commented 2 years ago

/test all