Skip to content

v1.536.0

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 22 Jan 22:03
fb9bb6a
fix: remove duplicate variable declarations @RoseSecurity (#14) ## what
  • Runs pre-commit hooks on all files
  • Removes duplicate variable declarations for logging configurations

why

  • After vendoring the waf component, I was met with the following error when running a terraform plan

Error:

Initializing modules...

│ Error: Duplicate variable declaration

│   on variables.tf line 1151:
│ 1151: variable "log_destination_configs" {

│ A variable named "log_destination_configs" was already declared at variables.tf:112,1-35. Variable
│ names must be unique within a module.


│ Error: Duplicate variable declaration

│   on variables.tf line 1161:
│ 1161: variable "redacted_fields" {

│ A variable named "redacted_fields" was already declared at variables.tf:118,1-27. Variable names must
│ be unique within a module.


│ Error: Duplicate variable declaration

│   on variables.tf line 1188:
│ 1188: variable "logging_filter" {

│ A variable named "logging_filter" was already declared at variables.tf:145,1-26. Variable names must be
│ unique within a module.


│ Error: Duplicate variable declaration

│   on variables.tf line 1239:
│ 1239: variable "association_resource_arns" {

│ A variable named "association_resource_arns" was already declared at variables.tf:169,1-37. Variable
│ names must be unique within a module.


│ Error: Duplicate variable declaration

│   on variables.tf line 1253:
│ 1253: variable "association_resource_component_selectors" {

│ A variable named "association_resource_component_selectors" was already declared at
│ variables.tf:197,1-52. Variable names must be unique within a module.

Summary by CodeRabbit

  • Chores

    • Updated .github/renovate.json with a minor formatting change
    • Removed .gitkeep file from docs directory
  • Configuration

    • Removed several logging and resource association variables from Terraform configuration