pulumi / pulumi-eks

A Pulumi component for easily creating and managing an Amazon EKS Cluster
https://www.pulumi.com/registry/packages/eks/
Apache License 2.0
171 stars 80 forks source link

Node unable to be created with empty tag value #1204

Closed RagunathAnbarasu closed 2 months ago

RagunathAnbarasu commented 3 months ago

What happened?

I am deploying eks cluster with pulumi python.

Module versions:

I am attaching tags to the resources, and one tag has empty string("") value. Pulumi python is unable to create the EKS Node wth empty string("") as tag value.

Example

cluster = eks.Cluster("example_cluster_name",
    vpc_id = example_vpc_id,
    name = example_eks_cluster_name,
    tags = {"tag1" : "value1","tag2" : "value2","tag3" : "value3","tag4" : ""},
    public_subnet_ids=example_public_subnets,
    private_subnet_ids=example_private_subnets,
    create_oidc_provider=True,
    node_associate_public_ip_address = False)

Output of pulumi about

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

rquitales commented 3 months ago

Hi @RagunathAnbarasu the issue you are reporting comes from AWS. They are validating to ensure tag values cannot be empty. Since this is expected behaviour of AWS, I don't think there is anything we can do on our side to address this - you'll need to update your tag values to not be empty. Please let me know if I'm overlooking something.