Question 490
A platform has one reviewed load-balancer module and wants to instantiate it in two isolated service stacks. Which Terraform concept most directly explains the appropriate approach?
Explanation
Correct Answer
Call the module from each root configuration with stack-specific inputs. Both stacks use the shared module interface while maintaining separate state and resource identities.
Incorrect Answers
Configure the appropriate private registry source and access before initialization. A module packages reusable configuration for multiple invocations.
Pass different region inputs to separately named module blocks. Both stacks use the shared module interface while maintaining separate state and resource identities.
Pin the registry module to the approved exact version and review upgrades explicitly. Call the module from each root configuration with stack-specific inputs.