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
# alks_iamrole.ec2-role must be replaced
+/- resource "alks_iamrole" "ec2-role" {
~ arn = "arn:aws:iam::247721768464:role/acct-managed/ec2-widget-tunnel-us-east-1" -> (known after apply)
~ id = "ec2-widget-tunnel-us-east-1" -> (known after apply)
~ include_default_policies = true -> false # forces replacement
~ ip_arn = "arn:aws:iam::247721768464:instance-profile/acct-managed/ec2-widget-tunnel-us-east-1" -> (known after apply)
name = "ec2-widget-tunnel-us-east-1"
~ role_added_to_ip = true -> (known after apply)
# (2 unchanged attributes hidden)
}
Expected Behavior
Role is recreated.
Actual Behavior
╷
│ Error: Error creating role: [zmdd8yjb] Role already exists with the same name: ec2-widget-tunnel-us-east-1
│
│ with alks_iamrole.ec2-role,
│ on iam.tf line 3, in resource "alks_iamrole" "ec2-role":
│ 3: resource "alks_iamrole" "ec2-role" {
This can be bypassed by manually deleting the role through ALKS and reapplying terraform.
Terraform 0.15.x
ALKS Terraform Provider 1.5.15
The text was updated successfully, but these errors were encountered:
Plan
Expected Behavior
Role is recreated.
Actual Behavior
This can be bypassed by manually deleting the role through ALKS and reapplying terraform.
Terraform 0.15.x
ALKS Terraform Provider 1.5.15
The text was updated successfully, but these errors were encountered: