Add a @ConditionalOnCloudPlatform annotation that matches based on the active ClouldPlatform. Fixes gh-7155