BFD-4554: Cleanup of root.tofu.tf for platform and services#3003
Open
jonathan-cantu-icf wants to merge 2 commits intomasterfrom
Open
BFD-4554: Cleanup of root.tofu.tf for platform and services#3003jonathan-cantu-icf wants to merge 2 commits intomasterfrom
jonathan-cantu-icf wants to merge 2 commits intomasterfrom
Conversation
mjburling
reviewed
Feb 13, 2026
Member
mjburling
left a comment
There was a problem hiding this comment.
I think the secondary_region variable is still necessary today, especially for cross-region configuration as seen in the KMS key definitions. For now, they should be maintained.
@malessi reminded me about one of the killer features in AWS provider for terraform v6 and above, is the introduction of a top-level region parameter at the resource level: hashicorp.github.io/terraform-provider-aws/enhanced-region-support/
I believe that may obviate the need for multiple providers and the variables that define the region in them. Again, not here, but... someday!
…ion configuration as seen in the KMS key definitions. For now, they should be maintained.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA Ticket:
BFD-4554
What Does This PR Do?
As the ticket states, to tidy up the
root.tofu.tffiles for both platform and services given thetflintoutput (i.e. warnings).What Should Reviewers Watch For?
I actually ran a
tofu planfor a couple of the modules beneathservicesandplatformto make sure that the changes to theroot.tofu.tfwere not detrimental.If you're reviewing this PR, please check for these things in particular:
That you don't see anything that could break which I may have missed to state the obvious.
What Security Implications Does This PR Have?
None that I am aware of - purely ci-cd build related.
Please indicate if this PR does any of the following:
NO to all of the questions below.
Adds any new software dependencies
Modifies any security controls
Adds new transmission or storage of data
Any other changes that could possibly affect security?
I have considered the above security implications as it relates to this PR. (If one or more of the above apply, it cannot be merged without the ISSO or team security engineer's (
@sb-benohe) approval.)I have created tests to sufficiently ensure the reliability of my code, if applicable. If this is a modification to an existing piece of code, I have audited the associated tests to ensure everything works as expected.
Validation
Have you fully verified and tested these changes? Is the acceptance criteria met? Please provide reproducible testing instructions, code snippets, or screenshots as applicable. To the degree I am aware of, yes, I have verified and tested these changes. I believe the AC has been met.
Try running
tofu planandtofu applyand verify there aren't any errors.