Well, this is rather embarrassing. The main problem was that the correct name of the parameter is tags
and not tag
. Once I got that sorted out I was able to run through and find which value this parameter was looking for. This is what works:
tags=[Tag(
key='Name',
value='ASG Minion',
propagate_at_launch=True,
resource_id=AS_GROUP_NAME)],
)
I tried it also without the resource_id
and it complained with Invalid resourceID: None
. So the group name needs to be specified in the tag even if the group is the being created at the same time. Hopefully this is helpful to someone else.