スキップしてコンテンツを表示

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年前96ビュー
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

エキスパート
回答済み 1年前
エキスパート
レビュー済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ