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

Mark the global org_id as deprecated #980

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Jul 13, 2023

Will be merged once #979 is ready and also merged

Reasons:

  • org_id does not work with all resources. Ex: grafana_user is not org-scoped, alerting resources have their own org_id attribute and the API is different where the global attribute does NOT work. This is very confusing for users
  • This allows us to make the docs lighter. Less options is simpler for users

@github-actions
Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. To do so, a Grafana Labs employee must promote the Drone build.

For maintainers, it's better to run only the Cloud tests you need, rather than all of them. You can do so by setting the following parameter when promoting:

TESTARGS='-run=<testname>'

@julienduchesne julienduchesne force-pushed the julienduchesne/mark-org-id-as-deprecated branch 2 times, most recently from 2e2eb15 to de108f4 Compare July 13, 2023 18:23
@julienduchesne julienduchesne marked this pull request as ready for review July 13, 2023 18:27
@julienduchesne julienduchesne requested a review from a team as a code owner July 13, 2023 18:27
julienduchesne added a commit that referenced this pull request Jul 13, 2023
Once we remove `org_id` (Deprecated here: #980)
The provider will need the org_id in state to reconcile. This PR makes sure that it is always set
This will make the migration seamless for users (just modifying their TF statements and everything should work)
julienduchesne added a commit that referenced this pull request Jul 13, 2023
Once we remove `org_id` (Deprecated here: #980)
The provider will need the org_id in state to reconcile. This PR makes sure that it is always set
This will make the migration seamless for users (just modifying their TF statements and everything should work)
julienduchesne added a commit that referenced this pull request Jul 14, 2023
Once we remove `org_id` (Deprecated here: #980)
The provider will need the org_id in state to reconcile. This PR makes sure that it is always set
This will make the migration seamless for users (just modifying their TF statements and everything should work)
Reasons:
- `org_id` does not work with all resources. Ex: `grafana_user` is not org-scoped, alerting resources have their own `org_id` attribute and the API is different where the global attribute does NOT work. This is very confusing for users
- This allows us to make the docs lighter. Less options is simpler for users
@julienduchesne julienduchesne force-pushed the julienduchesne/mark-org-id-as-deprecated branch from 37d0bb3 to 797bf01 Compare July 14, 2023 14:49
@julienduchesne julienduchesne merged commit b1eafa3 into master Jul 14, 2023
3 checks passed
@julienduchesne julienduchesne deleted the julienduchesne/mark-org-id-as-deprecated branch July 14, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants