我使用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 = [