Skip to content

[INF-178 follow-up] Plan-mode terraform test for unset license key - #308

Open
Erik Weathers (erikdw) wants to merge 1 commit into
erikdw/ecs-ec2-secrets-from-smfrom
erikdw/inf-178-license-null-terraform-test
Open

[INF-178 follow-up] Plan-mode terraform test for unset license key#308
Erik Weathers (erikdw) wants to merge 1 commit into
erikdw/ecs-ec2-secrets-from-smfrom
erikdw/inf-178-license-null-terraform-test

Conversation

@erikdw

Copy link
Copy Markdown
Contributor

Summary

Stacked on #307 (erikdw/ecs-ec2-secrets-from-sm).

https://linear.app/braintrustdata/issue/INF-178

Test plan

  • mise run test passes on this branch
  • With the old coalesce(var.brainstore_license_key, "") local restored locally, mise run test fails
  • CI runs the new test / test-tofu jobs

Made with Cursor

validate cannot catch coalesce(null, "") style regressions because it
treats variables as unknown. Add a mocked terraform test with
command = plan, wire mise run test / test-tofu into CI, and document
the validate vs test distinction.

Co-authored-by: Cursor <cursoragent@cursor.com>
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