sparse-intern-71089
03/01/2022, 12:33 PMsome-continent-1577
03/01/2022, 12:39 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.some-continent-1577
03/01/2022, 4:10 PMgreat-queen-39697
03/01/2022, 4:28 PMsome-continent-1577
03/01/2022, 4:29 PMsome-continent-1577
03/01/2022, 4:48 PMgreat-queen-39697
03/01/2022, 4:50 PMgreat-queen-39697
03/01/2022, 6:32 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.clean-autumn-17193
05/30/2024, 3:30 PMManagedNodeGroup
, with ManagedNodeGroupArgs
, specifying a scaling_config
.... I've tried several things so far and I can't seem to tag the actual AWS AutoScaling Group itself. My instances are tagged, my LT is tagged - everything is tagged but I can't figure out the tagging of the ASG....clean-autumn-17193
05/30/2024, 3:31 PMclean-autumn-17193
05/30/2024, 3:35 PMManagedNodeGroup
, with ManagedNodeGroupArgs
, specifying a scaling_config
.... I've tried several things so far and I can't seem to tag the actual AWS AutoScaling Group itself. My instances are tagged, my LT is tagged - everything is tagged but I can't figure out the tagging of the ASG....clean-autumn-17193
05/30/2024, 3:48 PMauto_scaling_group_tags
to the ManagedNodeGroup
doesn't seem to do anything, though, adding auto_scaling_group_tags
to the ManagedNodeGroupArgs
bombs with
TypeError: ManagedNodeGroupArgs.__init__() got an unexpected keyword argument 'auto_scaling_group_tags'
so, is the ManagedNodeGroup just ignoring them ?