Why can cloudformation not specify GameLift Fleet tags?

0

Most GameLift resources I create in cloudformation allow me to specify tags (MatchmakingRuleSet, MatchmakingConfiguration, GameSessionQueue, Roles, Location, etc), but Fleets seem to be an exception to this. Fleets appear to have tags in the console UI, but they do not seem to be supported in cloudformation (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html).

Is there a reason they can not specify tags? (Or am I missing something and should be able to?)

已提问 1 个月前49 查看次数
1 回答
0

Hello.

Looking at the GitHub issue below, it seems that as of September 2024, it still does not support setting tags on GameLift Fleet with CloudFormation.
https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/834
https://github.com/hashicorp/terraform-provider-awscc/issues/1541

An API exists to assign tags to GameLift resources.
Therefore, I think the only way at present is to use this API to set tags with custom resources.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/gamelift/client/tag_resource.html

Please check the following documentation for CloudFormation custom resources.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html

profile picture
专家
已回答 1 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则