Skip to content

ambiguous moved statements in iam-role-for-service-accounts/migrations.tfΒ #586

@jordanb-afs

Description

@jordanb-afs

Recently tried upgrading to 6.0.0 version of this module and immediately ran into this issue. it seems multiple moved statements are all pointing to the same thing:

β”‚ Error: Ambiguous move statements
β”‚
β”‚   on .terraform/modules/eks_cluster.ebs_csi_irsa_role/modules/iam-role-for-service-accounts/migrations.tf line 160:
β”‚  160: moved {
β”‚
β”‚ A statement at .terraform/modules/eks_cluster.ebs_csi_irsa_role/modules/iam-role-for-service-accounts/migrations.tf:6,1 declared that
β”‚ module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_policy.aws_gateway_controller moved to module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_policy.this, but this statement instead declares that
β”‚ module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_policy.vpc_cni moved there.
β”‚
β”‚ Each resource can have moved from only one source resource.
β•΅
β•·
β”‚ Error: Ambiguous move statements
β”‚
β”‚   on .terraform/modules/eks_cluster.ebs_csi_irsa_role/modules/iam-role-for-service-accounts/migrations.tf line 165:
β”‚  165: moved {
β”‚
β”‚ A statement at .terraform/modules/eks_cluster.ebs_csi_irsa_role/modules/iam-role-for-service-accounts/migrations.tf:6,1 declared that
β”‚ module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_policy.aws_gateway_controller moved to module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_policy.this, but this statement instead declares that
β”‚ module.eks_cluster[0].module.ebs_csi_irsa_role.aws_iam_role_policy_attachment.vpc_cni moved there.
β”‚
β”‚ Each resource can have moved from only one source resource.
β•΅

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions