Saltar al contenido

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

preguntada hace un año96 visualizaciones
1 Respuesta
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

EXPERTO
respondido hace un año
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.