some-continent-1577
03/01/2022, 12:33 PMException: Setting nodeGroupOptions, and any set of singular node group option(s) on the cluster, is mutually exclusive. Choose a single approach.
then I tried modifying the cluster object returned by the Cluster constructor with cluster.core.node_group_options.auto_scaling_group_tags = subnet_tags
then passing cluster=cluster.core to the ManagedNodeGroup constructor, and that didn’t raise an error but the change in tags wasn’t detected.great-queen-39697
03/01/2022, 4:28 PMsome-continent-1577
03/01/2022, 4:29 PMgreat-queen-39697
03/01/2022, 4:50 PMmy_cluster = eks.Cluster(
#...
node_group_options=eks.ClusterNodeGroupOptionsArgs(
auto_scaling_group_tags =[ 'str', 'str' ]
)
)
my_node_group = eks.ManagedNodeGroup(
"managed-group",
# ...
cluster=eks.CoreDataArgs(
cluster = my_cluster
)
)
If it's not working even then, I'd open an issue against the repo, unfortunately, as I'm guessing it's a bug.