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?)

Bryan
asked 18 days ago21 views
1 Answer
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
EXPERT
answered 18 days ago
profile picture
EXPERT
reviewed 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions