title: Unable to change IAM role for Oracle RDS
body: <p>I have an oracle rds instance that I had an S3_integration iam role for, I removed it using terraform, but it was never deleted on the instance itself it seems.</p>
  <p>Now I am unable to change, delete or add any s3_integration roles to the instance.</p>
  <p><a href="https://i.stack.imgur.com/c9wun.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c9wun.png" alt="enter image description here" /></a></p>
  <p>Attempting to use terraform or the UI to change the name, or delete it have been unsuccessful, has anyone had this happen? How can this be fixed? I cannot find any information about why the role is invalid, and attempting to upload a dump using rdsadmin_s3_tasks.upload_to_s3 command shows me this error &quot;<code>[ERROR] The DB instance doesn't have credentials to access the specified Amazon S3 bucket. To grant access, add the S3_INTEGRATION role to the DB instance.</code>&quot;</p>
  <p>I've rebooted the database but it has no effect.</p>