the new AWS SDK Grails plugin (v2+) replaces AmazonAwsService with AmazonS3Service for more modular plugin management. This breaks appinfo s3 healthIndicator logic that injects AmazonAwsService by type to resolve s3Client. to fix it:
inject AmazonAwsService or AmazonS3Service adaptively depending on AWS Grails plugin version used in host Grails applications
get s3Client from either AmazonAwsService or AmazonS3Service
the new AWS SDK Grails plugin (v2+) replaces AmazonAwsService with AmazonS3Service for more modular plugin management. This breaks appinfo s3 healthIndicator logic that injects AmazonAwsService by type to resolve s3Client. to fix it: