Why does an EC2 service use the wrong AWS identity after an instance role is attached?
0 reputation · 26 Jan 2022, 10:47 UTC
In this example, a team attaches the intended instance profile to EC2. A diagnostic command in a clean shell shows the expected role, but the application still identifies itself as an older IAM user. The system service definition contains legacy AWS environment variables. What should change?
- Environment
- Editorial worked example. See the question for the scenario and assumptions.