terraform: Avoid having multiple primaries