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

chore: remove unused Vault Status global secondary index as well as Status property in Vault table #903

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

craigzour
Copy link
Contributor

@craigzour craigzour commented Nov 26, 2024

Summary | Résumé

Part 9 of cds-snc/platform-forms-client#4287

  • Removes Status Global Secondary Index on Vault table
  • Removes Status property in Vault table

@craigzour craigzour self-assigned this Nov 26, 2024
@craigzour craigzour force-pushed the chore/remove-status-index branch from 56fe55a to 55bab72 Compare November 26, 2024 15:26
@craigzour craigzour force-pushed the chore/remove-status-index branch from 55bab72 to 644aa6f Compare December 11, 2024 20:49
@craigzour craigzour changed the title chore: remove unused Vault Status global secondary index chore: remove unused Vault Status global secondary index as well as Status property in Vault table Dec 11, 2024
@craigzour craigzour force-pushed the chore/remove-status-index branch from 644aa6f to e504685 Compare January 10, 2025 21:00
Copy link

⚠ Terrform update available

Terraform: 1.10.4 (using 1.9.8)
Terragrunt: 0.72.0 (using 0.69.2)

Copy link

Staging: dynamodb

✅   Terraform Init: success
✅   Terraform Validate: success
✅   Terraform Format: success
✅   Terraform Plan: success
✅   Conftest: success

Plan: 0 to add, 1 to change, 0 to destroy
Show summary
CHANGE NAME
update aws_dynamodb_table.vault
Show plan
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aws_dynamodb_table.vault will be updated in-place
  ~ resource "aws_dynamodb_table" "vault" {
        id                          = "Vault"
        name                        = "Vault"
        tags                        = {}
        # (13 unchanged attributes hidden)

      - attribute {
          - name = "Status" -> null
          - type = "S" -> null
        }

      - global_secondary_index {
          - hash_key           = "FormID" -> null
          - name               = "Status" -> null
          - non_key_attributes = [] -> null
          - projection_type    = "ALL" -> null
          - range_key          = "Status" -> null
          - read_capacity      = 0 -> null
          - write_capacity     = 0 -> null
        }

        # (7 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: plan.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "plan.tfplan"
Show Conftest results
WARN - plan.json - main - Missing Common Tags: ["aws_dynamodb_table.api_audit_logs"]
WARN - plan.json - main - Missing Common Tags: ["aws_dynamodb_table.audit_logs"]
WARN - plan.json - main - Missing Common Tags: ["aws_dynamodb_table.reliability_queue"]
WARN - plan.json - main - Missing Common Tags: ["aws_dynamodb_table.vault"]

23 tests, 19 passed, 4 warnings, 0 failures, 0 exceptions

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

Successfully merging this pull request may close these issues.

1 participant