mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-18 14:59:38 +02:00
fix: Ensure the correct service CIDR and IP family is used in the rendered user data (#2963)
* fix: Ensuring the correct service CIDR and IP family is used in the rendered user data * chore: Updates from testing and validating * chore: Fix example destroy instructions * fix: Only require `cluster_service_cidr` when `create = true` * chore: Clean up commented out code and add note on check length
This commit is contained in:
15
modules/fargate-profile/migrations.tf
Normal file
15
modules/fargate-profile/migrations.tf
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
# Migrations: v20.8 -> v20.9
|
||||
################################################################################
|
||||
|
||||
# Node IAM role policy attachment
|
||||
# Commercial partition only - `moved` does now allow multiple moves to same target
|
||||
moved {
|
||||
from = aws_iam_role_policy_attachment.this["arn:aws:iam::aws:policy/AmazonEKSFargatePodExecutionRolePolicy"]
|
||||
to = aws_iam_role_policy_attachment.this["AmazonEKSFargatePodExecutionRolePolicy"]
|
||||
}
|
||||
|
||||
moved {
|
||||
from = aws_iam_role_policy_attachment.this["arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"]
|
||||
to = aws_iam_role_policy_attachment.this["AmazonEKS_CNI_Policy"]
|
||||
}
|
||||
Reference in New Issue
Block a user