Are you sure you didn't set it manually or set it using a different role? What I'm reading here is that when you use the cli, it's in fact using the rotated temporary credentials of cloud9, which in this case are not the env owner.
You can try disable the credentials here and aws configure as the root and try?
Mysql does not run in my Cloud9 EC2 environmentasked 4 months ago
Cloud9 environment creation failedasked 4 months ago
AWS Cloud9 environmentasked 8 days ago
sls login in cloud9asked 3 years ago
AccessDeniedException when using CLI aws cloud9 update-environment --environment-id $C9_PID --managed-credentials-action DISABLEasked 15 days ago
Why aren't code lenses appearing in my Java test files in my Cloud9 environment?asked 2 months ago
Where did my brand-new Cloud9 environment go? There are none listed for my users.Accepted Answerasked 2 months ago
AWS Cloud9 instances gone?!asked 2 years ago
cloud9 environment not visibleasked 3 years ago
How can I copy/clone an entire AWS Cloud9 environment?Accepted Answerasked 8 months ago