-
Notifications
You must be signed in to change notification settings - Fork 192
[New Resource] api_key_project_assignment #3198
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
[New Resource] api_key_project_assignment #3198
Conversation
b5a9fc2
to
6460e69
Compare
@aristosvo, thank you for your PR. While we can't merge this PR right away, we are considering what is the best solution to fix this issue. I've initiated a discussion with the team and we will try to make a decision. |
@marcosuma Thanks for letting me know. I'm not on a tight schedule here, but it would help for our future upgrade (still stuck at 1.11) and also restructuring our Terraform/organization of MongoDB. Thanks in advance! |
This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
bump |
This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
bump |
This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
bump |
This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
Keeping this open. We still haven't managed to prioritise this conversation. |
That is quite a bummer, as we would like to upgrade from 1.11 before the EOL of 6.0 (there are some nasty issues if you want to upgrade). Upgrading within our current structure is not really possible without this feature with Terraform, so we probably will have to test and role our own fork of the provider for this. Can we speed this up in any way, for instance by escalating via our support contract? |
Hi @aristosvo, I am sorry to hear that. I'll do my best to provide you with an update in the following days. |
Hi @aristosvo , once again thank you and your team for your patience. I wanted to update you here by saying that we've decided to fix this problem by adding the While this PR option was also on the table, we prefer at this time not to add a new resource, as that would make the overall customer journey a bit more challenging to explain overall. Does that help? Do you have any concerns to share? I can't give you an exact timeline but since we've now made a decision we'll try to prioritise this work. |
Hi @marcosuma ! Thanks for your response. As I understand your concern on customer journey, as a customer I prefer small resources, as this makes rework easier. With regard to your proposed solution: This will not work unfortunately, as we create the project (with API key assignment, 1.11) in one run, together with the cluster creation (which needs the project assignment). The dependency tree with a separate resource makes this possible in a simple way, opening up the possibility for us to refactor quick and easy. With one resource I don't think this is practically possible, as we'd have to link dependencies on the API key resource to child modules while passing the project id back from the child module to the root module. We want to improve our operating model, but without the flexibility of an API key project assignment resource we can't even start with a simple upgrade to the latest version. Can you share a link on the 'ideal' customer journey? |
@aristosvo thanks for sharing more about your use case. If I understand it correctly:
You want to be able to assign the key to a project in the child module, which means the root module "passes" the API key ID and then the child module does the rest. Is my understanding correct? |
Approximately, only diff is that we don't create the API key via TF:
|
This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
Description
Please include a summary of the fix/feature/change, including any relevant motivation and context.
Link to any related issue(s):
Resolves #2030
Type of change:
Required Checklist:
Further comments