Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add annotation support for juju models #688

Open
kot0dama opened this issue Mar 7, 2025 · 2 comments · May be fixed by #689
Open

Add annotation support for juju models #688

kot0dama opened this issue Mar 7, 2025 · 2 comments · May be fixed by #689
Labels
kind/feature suggests new feature or enhancement

Comments

@kot0dama
Copy link

kot0dama commented Mar 7, 2025

Requirements

We need to be able to annotate to a Juju model with tag-like key=value properties.
Would it be possible to add the annotation feature support to Juju Terraform provider?

Something like:

resource "juju_model" "mymodel" {
  annotations {
    "slo.level": "2"
    "slo.rto": "12h"
    "owner": "<user id>"
  }
}

Thank you!

Urgency

Required by a customer, please add it now!

Notes & References

https://canonical-juju.readthedocs-hosted.com/en/latest/contributor/unsorted/annotations_client/
https://github.com/jameinel/test-annotate/blob/main/annotate.py
This is related to ISDB-1271

@kot0dama kot0dama added kind/feature suggests new feature or enhancement state/untriaged untriaged bug report labels Mar 7, 2025
@alesstimec
Copy link
Member

Hi. Thank you for the report. We have discussed your request and we will implement the requested feature. However due to the release schedule it might not make it into the 0.18.0 release, so we are currently aiming for 0.19.0, which will be released in April.

@alesstimec alesstimec removed the state/untriaged untriaged bug report label Mar 7, 2025
@SimoneDutto SimoneDutto linked a pull request Mar 7, 2025 that will close this issue
@kot0dama
Copy link
Author

Hi @alesstimec , thank you for your quick reply.
I believe April release works for us, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature suggests new feature or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants