You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ryndaniels
added
bug
Addresses a defect in current functionality.
and removed
needs-triage
Waiting for first response or review from a maintainer.
labels
Nov 21, 2019
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/limitusus/429bef80ba7ffc7af90083c886e048f6
Panic Output
No Panic
Expected Behavior
IAM profile change is only supported for "running" instances, so for "stopped" instances, remove the attached profile and then attach a new profile.
Actual Behavior
terraform tries to switch profile directly regardless of the instance's state and causes error.
Steps to Reproduce
terraform apply
and the instance is createdterraform apply
again and error reproducesImportant Factoids
References
AWS document says
The text was updated successfully, but these errors were encountered: