You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently creating an EKS cluster, and enabling the creation of a Fargate profile as well (like create_fargate_pod_execution_role = true). I am deploying EKS on both public and private subnets. It looks to me that all the subnets get passed on to the fargate module, while (to my understanding) fargate can only be deployed on private subnets (documented here).
Note that I included both public and private subnets. Upon trying to create the cluster, I get the error:
Error: error creating EKS Fargate Profile (foo-dev:foo-dev-fargate-foo-dev): InvalidParameterException: Subnet subnet-<redacted> provided in Fargate Profile is not a private subnet
{
RespMetadata: {
StatusCode: 400,
RequestID: "<redacted>"
},
Message_: "Subnet subnet-<redacted> provided in Fargate Profile is not a private subnet"
}
If this is a bug, how to reproduce? Please include a code sample if relevant.
To reproduce the bug just try to create a fargate profile with public and private subnets
What's the expected behavior?
I would have expected that we can input public and private subnets separately into the module and only pass the private ones on to fargate
Are you able to fix this problem and submit a PR? Link here if you have already.
I am not 100% sure if that is a bug or there is something I am doing wrong.In the case this is a bug I am happy to work on a fix myself.
Environment details
Affected module version: 13.2.1
OS: OSX
Terraform version: 0.13.5
Any other relevant info
UPDATE:
I believe this is covered by the following PR. Closing.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have issues
I am currently creating an EKS cluster, and enabling the creation of a Fargate profile as well (like
create_fargate_pod_execution_role = true
). I am deploying EKS on both public and private subnets. It looks to me that all the subnets get passed on to the fargate module, while (to my understanding) fargate can only be deployed on private subnets (documented here).I'm submitting a...
What is the current behavior?
I am currently deploying eks like:
Note that I included both public and private subnets. Upon trying to create the cluster, I get the error:
If this is a bug, how to reproduce? Please include a code sample if relevant.
To reproduce the bug just try to create a fargate profile with public and private subnets
What's the expected behavior?
I would have expected that we can input public and private subnets separately into the module and only pass the private ones on to fargate
Are you able to fix this problem and submit a PR? Link here if you have already.
I am not 100% sure if that is a bug or there is something I am doing wrong.In the case this is a bug I am happy to work on a fix myself.
Environment details
Any other relevant info
UPDATE:
I believe this is covered by the following PR. Closing.
The text was updated successfully, but these errors were encountered: