'You cannot specify tags for Spot instances requests if there are no Spot instances requests being created by the request
I've created a spot request. In the logs I see:
You cannot specify tags for Spot instances requests if there are no Spot instances requests being created by the request.
Could anyone explain the error message in plain English, please? The text makes no sense to me as non-English native.
Solution 1:[1]
Ther error happens when you are trying to tag a non-existent resource.
One example will be want to propagate a name in cfn template, but there was not spot created
LaunchTemplate:
Type: AWS::EC2::LaunchTemplate
Properties:
LaunchTemplateName: some-name
LaunchTemplateData:
TagSpecifications:
- ResourceType: spot-instances-request
Tags:
- Key: Name
Value: some-name
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | arkentos |