Using RDS IAM authentication (AWSAuthenticationPlugin) with a Docker dev-database
Question
An AWS RDS MySQL schema creates IAM-authenticated users, for example:
CREATE USER 'app_iam' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS';
Running atlas migrate diff (or any command that uses the dev-database) against a standard
mysql Docker image fails, because that plugin exists only on RDS:
Error: failed to run `atlas migrate diff`: Error: sql/migrate: read migration directory state:
sql/migrate: executing statement "CREATE USER 'app_iam' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS';"
from version "20260602081826": Error 1524 (HY000): Plugin 'AWSAuthenticationPlugin' is not loaded
Must the dev-url point at a real RDS instance, or can the dev-database run locally in Docker?