Skip to content

Commit

Permalink
Fix the ordering of the move
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmuck committed Nov 15, 2024
1 parent 0282ef4 commit b08166b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ module "fsx-storage" {

module "iam" {
source = "app.terraform.io/indico/indico-aws-iam/mod"
version = "0.0.7"
version = "0.0.8"

# EKS node role
create_node_role = var.create_node_role
Expand Down
4 changes: 2 additions & 2 deletions moved.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
moved {
from = module.cluster.aws_iam_policy.cluster_node_iam_policy
from = module.cluster.aws_iam_policy.cluster_node_ebs_iam_policy
to = module.iam.module.create_eks_node_role[0].aws_iam_policy.policies[0]
}

moved {
from = module.cluster.aws_iam_policy.cluster_node_ebs_iam_policy
from = module.cluster.aws_iam_policy.cluster_node_iam_policy
to = module.iam.module.create_eks_node_role[0].aws_iam_policy.policies[1]
}

Expand Down

0 comments on commit b08166b

Please sign in to comment.