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

Update Terraform github.com/cloudposse/terraform-aws-dynamodb to v0.34.0 (main) #16

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 19, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/cloudposse/terraform-aws-dynamodb module minor tags/0.7.0 -> 0.34.0

Release Notes

cloudposse/terraform-aws-dynamodb (github.com/cloudposse/terraform-aws-dynamodb)

v0.34.0

Compare Source

Issue 110: Add enable deletion protection @​ignacioSuay (#​112)
what

Add deletion_protection_enabled to the module. This feature is already available in terraform resource.

why

Terraform dynamodb_table resource has the optional parameter:
deletion_protection_enabled - (Optional) Enables deletion protection for table. Defaults to false.

We would like to be able to use the flag to avoid accidentally deleting DynamoDB tables. Therefore, we would like to add an extra variable to the module to enable/disable deletion protection.

references

This PR is related to the issue raise by the community:
https://github.com/cloudposse/terraform-aws-dynamodb/issues/110

Sync github @​max-lobur (#​113)

Rebuild github dir from the template

🤖 Automatic Updates
Update README.md and docs @​cloudpossebot (#​117)
what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v0.33.0

Compare Source

  • No changes

v0.32.0

Compare Source

fix: required aws provider version update @​ivanmartos (#​108)
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

v0.31.0

Compare Source

Fix Perma-Drift with Replicas @​milldr (#​107)
what
  • Explicitly set replica attributes as the default values
why
  • If using replicas, we always see drift for plans if those values are not set
references
  • closes #​104

v0.30.0

Compare Source

Chore: add table_class option @​QuentinBtd (#​106)
what

Adding table_class option

why

This option can be usefull for tables with infrequent access. It can reduce costs by up to 60%.

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table#table_class
https://aws.amazon.com/fr/dynamodb/standard-ia/

git.io->cloudposse.tools update @​dylanbannon (#​102)
what and why

Change all references to git.io/build-harness into cloudposse.tools/build-harness, since git.io redirects will stop working on April 29th, 2022.

References
  • DEV-143

v0.29.5

Compare Source

🚀 Enhancements
Don't set read/write capacity in PAY_PER_REQUEST billing mode @​alexjurkiewicz (#​101)

This causes errors at plan-time now:

Error: 2 errors occurred:
	* read_capacity can not be set when billing_mode is "PAY_PER_REQUEST"
	* write_capacity can not be set when billing_mode is "PAY_PER_REQUEST"

  with module.dynamodb_table.aws_dynamodb_table.default[0],
  on .terraform/modules/dynamodb_table/main.tf line 46, in resource "aws_dynamodb_table" "default":
  46: resource "aws_dynamodb_table" "default" {

v0.29.4

Compare Source

🤖 Automatic Updates
Update Terraform cloudposse/dynamodb-autoscaler/aws to v0.14.0 @​renovate (#​100)

This PR contains the following updates:

Package Type Update Change
cloudposse/dynamodb-autoscaler/aws (source) module minor 0.13.2 -> 0.14.0

Release Notes
cloudposse/terraform-aws-dynamodb-autoscaler
v0.14.0

Compare Source

🚀 Enhancements
Feat: Add Index Read/Write Values for Capacity and Target @​&#​8203;nitrocode (#&#​8203;43)
what
  • Add index read/write values for autoscaling capacity and target
  • If the index values aren't provided, the original values will be used in place via coalesce(index, original)
why
  • Separate read/write capacities for table vs index
references

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.29.3

Compare Source

🤖 Automatic Updates
Add var.tags_enabled to support dynamodb-local @​mwarkentin (#​91)
what
  • Adds new variable var.enable_tags - defaults to true for backwards-compatibility
  • If var.enable_tags = false, sets tags = null instead of using generated tags to support apply against a dynamodb-local table (which doesn't support tagging APIs)
why
  • We want to be able to use this module to manage local dynamodb tables in addition to our AWS tables
references
  • Closes #​90

v0.29.2

Compare Source

🚀 Enhancements
Chore: bump `dynamodb-autoscaler` module to `0.13.2` @​korenyoni (#​98)
what
  • Bump dynamodb-autoscaler module to 0.13.2
why
  • dynamodb-autoscaler:0.13.1 has a context.tf that is incompatible with the tenant label.
references

v0.29.1

Compare Source

🤖 Automatic Updates
Update context.tf @​cloudpossebot (#​97)
what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

v0.29.0

Compare Source

Only specify ttl block if ttl_enabled is true @​alexjurkiewicz (#​95)

Fixes #​94.

v0.28.1

Compare Source

🤖 Automatic Updates
Update Terraform cloudposse/dynamodb-autoscaler/aws to v0.13.1 @​renovate (#​96)

This PR contains the following updates:

Package Type Update Change
cloudposse/dynamodb-autoscaler/aws (source) module patch 0.13.0 -> 0.13.1

Release Notes
cloudposse/terraform-aws-dynamodb-autoscaler
v0.13.1

Compare Source

🚀 Enhancements
Don't create resources when enabled = false @​&#​8203;alexjurkiewicz (#&#​8203;40)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.28.0

Compare Source

autoscaler version update @​maximmi (#​88)
what
  • autoscaler version update
why
  • use fixed version

v0.27.1

Compare Source

🤖 Automatic Updates
Update Terraform cloudposse/dynamodb-autoscaler/aws to v0.13.0 @​renovate (#​89)

This PR contains the following updates:

Package Type Update Change
cloudposse/dynamodb-autoscaler/aws (source) module minor 0.12.0 -> 0.13.0

Release Notes
cloudposse/terraform-aws-dynamodb-autoscaler
v0.13.0

Compare Source

some resources names build logic fix @​&#​8203;maximmi (#&#​8203;38)
what
  • some resources names build logic fix
why
  • broken logic

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.27.0

Compare Source

update autoscaler version @​maximmi (#​87)
what
  • update autoscaler version
  • tests improved
why
  • fixes #​70

v0.26.2

Compare Source

🤖 Automatic Updates
Update Terraform cloudposse/dynamodb-autoscaler/aws to v0.12.0 @​renovate (#​86)

This PR contains the following updates:

Package Type Update Change
cloudposse/dynamodb-autoscaler/aws (source) module minor 0.11.0 -> 0.12.0

Release Notes
cloudposse/terraform-aws-dynamodb-autoscaler
v0.12.0

Compare Source

count replaced with foreach @​&#​8203;maximmi (#&#​8203;37)
what
  • count replaced with foreach
why
  • requires to fix invalid count argument on read/write_target_index with multiple dynamodb tables issue
refs

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

v0.26.1

Compare Source

🚀 Enhancements
Add var.ttl_enabled to support disabling ttl @​mwarkentin (#​85)
what
  • Add var.ttl_enabled to support explicitly disabling dynamodb ttl on a table
why
  • Unable to disable an existing ttl configuration
references
  • Closes #​84
Example Plan

After setting ttl_enabled = false w/ blank ttl_attribute:

module.ddb_transaction_event.aws_dynamodb_table.default[0] will be updated in-place
  ~ resource "aws_dynamodb_table" "default" {
        arn              = "arn:aws:dynamodb:us-east-1:***********:table/devmw-transactionEvent"
        billing_mode     = "PAY_PER_REQUEST"
        hash_key         = "transactionId"
        id               = "devmw-transactionEvent"
        
...

        timeouts {}

      ~ ttl {
            attribute_name = "Expires"
          ~ enabled        = true -> false
        }
    }

v0.26.0

Compare Source

Dynamodb table replica support @​mwarkentin (#​83)
what
  • This feature will allow setting replica configurations for aws_dynamodb_table resource.
why
  • According to the note at AWS provider v3.4.0 docs, it's recommended to use replica configuration instead of aws_dynamodb_global_table resource and there is a lack of that functionality in this module.
references
  • Closes #​41
  • Replaces #​66, #​82

v0.25.2

Compare Source

🤖 Automatic Updates
context.tf updated to v0.24.1, minimum required Terraform version bumped to 0.13.0 when needed, readme updated @​maximmi (#​80)
what
  • update context.tf to v0.24.1
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added
why
  • It allows for setting the letter case of tag names and labels, back compatibility with context v0.22.0 and below
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant

v0.25.1

Compare Source

🤖 Automatic Updates
Update context.tf @​cloudpossebot (#​81)
what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

v0.25.0

Compare Source

minimum required Terraform version bumped to 0.13.0, context.tf updated, readme updated @​maximmi (#​78)

what

  • update context.tf to v0.23.0
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added

why

  • It allows for setting the letter case of tag names and labels
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant

v0.24.0

Compare Source

Terraform 0.14 upgrade @​maximmi (#​76)
what
  • Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard
why
  • Support Terraform 0.14

v0.23.0

Compare Source

terraform 0.14 upgrade including context.tf @​Nuru (#​72)
what
  • Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard, including context.tf
why
  • Support Terraform 0.14
  • Closes #​64, closes #​71

v0.22.0

Compare Source

Add possibility to define custo kms key for server side encryption @​dmitriy-lukyanchikov (#​68)
what
  • Add possibility to define custom kms key for server-side encryption
why
  • its useful when you want to create you on custom managed KMS key

v0.21.0

Compare Source

allow to add additional attributes and tags to autoscaler @​etwillbefine (#​52)

what

This is to avoid adding a region prefix to dynamodb tables because the autoscaler IAM role requires additional region indicator in its names

why

  • IAM policies and roles need to be unique
  • DynamoDB tables should not have a region indicator as they are regional

v0.20.0

Compare Source

update terraform-aws-dynamodb-autoscaler version @​woz5999 (#​65)

what

set minimum versions for providers without pinning to a specific major version

why

the current method makes it very difficult to maintain or upgrade consistent provider versions within a project

references

https://www.terraform.io/docs/configuration/provider-requirements.html#best-practices-for-provider-versions

v0.19.0

Compare Source

ensure we can take v3 of the aws provider @​jurgenweber (#​62)

what

do not restrict the aws provider version to just v2

why

https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/issues/23
the aws cloud provider has v13 fixes and requirements also

references

closes #​61
https://github.com/cloudposse/terraform-aws-dynamodb/issues/61

v0.18.0

Compare Source

Additional TF 0.13 Fixes @​osterman (#​60)

what

  • upgrade chatops
  • add automatic releasing
  • upgrade to go modules
  • update any version pinning
  • (locally verififed) no terraform init errors using cli

why

  • Support Terraform 0.13

v0.17.1

Compare Source

v0.17.0

Compare Source

v0.16.0

Compare Source

v0.15.0: Fix enable_autoscaler variable type and default

Compare Source

what
  • Fix enable_autoscaler variable type and default
why
  • Type "string" is a leftover from TF 0.11
  • No need to enable autoscaler by default

v0.14.0: Update modules and docs

Compare Source

what

  • Update README
  • Change AWS region for tests to us-east-2
  • Use splat+join instead of list concatenation for resources with counts
  • Add slash-command-dispatch and rebuild-readme-command GitHub Actions
  • Update LICENSE

why

  • Keep README up to date, add reference to the complete example and tests
  • We use us-east-2 for all tests (us-west-1 is a very limited region)
  • We use splat+join for resources with counts
  • slash-command-dispatch is a GitHub action that facilitates "ChatOps" by creating repository dispatch events for slash commands
  • Listens to rebuild-readme command in PR comments and calls rebuild-readme-command to rebuild README

v0.13.0: Add tags to autoscaler

Compare Source

what

  • Add tags to autoscaler

why

  • The autoscaler supports tags
  • Tag all the created resources

v0.12.0: Use the latest label module to support the environment attribute

Compare Source

what
  • Use the latest label module to support the environment attribute
why
  • Allow the environment attribute to be passed to included modules
  • Useful for naming resources

v0.11.0: Add support for regex_replace_chars variable

Compare Source

what
  • Add support for regex_replace_chars variable
why
  • The variable is passed through to the null-label module and allows more flexibility when naming resources

v0.10.0: Convert to TF 0.12. Add tests. Add Codefresh test pipeline

Compare Source

what
  • Port module to Terraform 0.12
  • Pin all providers
  • Add example for testing
  • Add bats and terratest for the example
  • Add Codefresh badge to point to the test pipeline in terraform-modules project
  • Update README
why
  • Module currently does not work with 0.12. Much easier syntax
  • Better regression control
  • Automatically test the example on every commit and pull request
  • Provision resources on AWS in the test account and check the outputs for the correct values
  • terraform-modules project contains pipelines for all terraform modules

v0.9.0: Add billing_mode support

Compare Source

what
  • Add billing_mode support
why
  • DynamoDB supports billing_mode to select between PROVISIONED or PAY_PER_REQUEST, defaulting to PROVISIONED mode. Also ensured that dynamodb_autoscaler is only created when var.billing_mode == "PROVISIONED"

v0.8.0: Add conditional creation of the DynamoDB resources

Compare Source

what

Add conditional creation of the DynamoDB resources

why

Fixes https://github.com/cloudposse/terraform-aws-dynamodb/issues/27


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from a team as code owners September 19, 2023 23:26
@renovate renovate bot requested review from Gowiem and korenyoni September 19, 2023 23:26
@renovate renovate bot added the auto-update label Sep 19, 2023
@renovate
Copy link
Author

renovate bot commented Sep 20, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants