diff --git a/EksIp6Nginxpod/main.tf b/EksIp6Nginxpod/main.tf index 71238ff..4fd5381 100644 --- a/EksIp6Nginxpod/main.tf +++ b/EksIp6Nginxpod/main.tf @@ -186,6 +186,17 @@ module "eks" { eks-pod-identity-agent = { preserve = false before_compute = true + # If your nodes does not allow ipv6, use the following to force the agent to bind to ipv4 only + # https://docs.aws.amazon.com/eks/latest/userguide/pod-id-agent-config-ipv6.html + # configuration_values = jsonencode( + # { + # "agent": { + # "additionalArgs": { + # "-b": "169.254.170.23" + # } + # } + # } + # ) } kube-proxy = {} aws-ebs-csi-driver = { diff --git a/modules/storage/S3Bucket/variables.tf b/modules/storage/S3Bucket/variables.tf index 138b02c..0cf03d8 100644 --- a/modules/storage/S3Bucket/variables.tf +++ b/modules/storage/S3Bucket/variables.tf @@ -67,7 +67,7 @@ variable "replication_dest_bucket_name" { } variable "replication_destination_aws_account_id" { - type = number + type = string default = null description = "AWS account id of replica bucket" }