Skip to content

Commit

Permalink
Add moved block to iam policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ltellesfl committed Dec 2, 2024
1 parent d3e28ab commit 1013d3e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,21 @@ module "iam" {
s3_replication_api_model_destination_bucket_name = var.api_model_destination_bucket
}

moved {
from = module.cluster.aws_iam_role_policy_attachment.ebs_cluster_policy
to = module.iam.module.create_eks_node_role[0].aws_iam_role_policy_attachment.attachments[0]
}

moved {
from = module.cluster.aws_iam_role_policy_attachment.additional_cluster_policy
to = module.iam.module.create_eks_node_role[0].aws_iam_role_policy_attachment.attachments[1]
}

moved {
from = module.cluster.aws_iam_role_policy_attachment.additional["IAMReadOnlyAccess"]
to = module.iam.module.create_eks_node_role[0].aws_iam_role_policy_attachment.additional_policies[0]
}

module "cluster" {
source = "app.terraform.io/indico/indico-aws-eks-cluster/mod"
version = "9.0.31"
Expand Down

0 comments on commit 1013d3e

Please sign in to comment.