Allow for tagging a ROSA cluster during creation

Solution Verified - Updated -

Environment

  • Red Hat OpenShift Service on AWS (ROSA)
    • 4.11+

Issue

  • Availability to create a Red Hat OpenShift cluster on AWS(ROSA) with custom tags for EC2 and the rest of the resources.
  • Allow for EC2 instances to be tagged in the ROSA CLI.

Resolution

An internal RFE (SDE-1090) has been created to request this option on the ROSA CLI.

Update (March 2024)

With the latest version of the ROSA CLI and at least ROSA cluster version 4.11, adding custom tags at cluster install-time is enabled and supported.
It still remains that adding/changing custom tags day2 (after install) is not yet available/supported. Day2 tagging is tracking as an active RFE for OpenShift 4.17.

Root Cause

Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.

The option to create tags on the $ rosa create cluster command is marked as a flags.MarkHidden which means is not yet released on the server-side, it can be checked on the rosa cli repository:

[...]
    flags.StringSliceVar(
        &args.tags,
        "tags",
        nil,
        "Apply user defined tags to all resources created by ROSA in AWS."+
            "Tags are comma separated, for example: --tags=foo:bar,bar:baz",
    )
    flags.MarkHidden("tags")
[...]

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments