升级EKS集群版本时,Terraform重新创建自动缩放权限

时间:2020-06-04 03:02:09

标签: amazon-web-services terraform aws-eks

我使用terraform eks模块升级了EKS集群版本

  cluster_version                 = "1.15"     

但是terraform计划还显示了与自动缩放IAM策略有关的更改。一旦升级了群集计划,我还将升级工作节点。但是我不确定为什么地形会显示这些变化。

# module.eks.data.aws_iam_policy_document.autoscaling_policy will be read during apply
  # (config refers to values not yet known)
<= data "aws_iam_policy_document" "autoscaling_polciy"  {
      + id   = (known after apply)
      + json = (known after apply)

      + statement {
          + actions   = [
              + "autoscaling:DescribeAutoScalingGroups",
              + "autoscaling:DescribeAutoScalingInstances",
              + "autoscaling:DescribeLaunchConfigurations",
              + "autoscaling:DescribeTags",
              + "ec2:DescribeLaunchTemplateVersions",
            ]
          + effect    = "Allow"
          + resources = [
              + "*",
            ]
          + sid       = "eksWorkerAutoscalingAll"
        }
      + statement {
          + actions   = [

0 个答案:

没有答案