# OneAgent and tags on AWS Fargate

**URL:** <https://community.dynatrace.com/t/oneagent-and-tags-on-aws-fargate/20961>\
**Category:** Cloud platforms\
**Tags:** aws, oneagent, docker\
**Created:** [December 3, 2020, 10:46am UTC](https://community.dynatrace.com/t/oneagent-and-tags-on-aws-fargate/20961 "2020-12-03T10:46:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andras\_Agocs](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Andras\_Agocs](https://community.dynatrace.com/u/Andras_Agocs)\
**Post date:** [December 3, 2020, 10:46am UTC](https://community.dynatrace.com/t/oneagent-and-tags-on-aws-fargate/20961/1 "2020-12-03T10:46:20Z")

</div>

I have followed the installation steps lined out in [Deploy OneAgent on AWS Fargate](https://www.dynatrace.com/support/help/technology-support/cloud-platforms/amazon-web-services/integrations/deploy-oneagent-on-aws-fargate/#expand-2374build-time-injection) and have the build time injection with multi-stage docker working, I can see my hosts on my dashboard, but I have a requirement to assign tags to them, like hostgroup, etc.  
I have been researching this for a few days now, but so far did not find a solution.  
Anybody have some suggestions how to get this up and running?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [December 31, 2020, 1:44pm UTC](https://community.dynatrace.com/t/oneagent-and-tags-on-aws-fargate/20961/2 "2020-12-31T13:44:54Z")

</div>

Depending on how you are deploying out, you can set the host group via a script that can also set environment variables as needed, or you can always circle back and use the Oneagent CTL to set the host group: [Organize your environment using host groups — Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/configuration/organize-your-environment-using-host-groups/)
