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

[Feature] Allow the import of a subscription by its ID #895

Open
culpinnis opened this issue Dec 17, 2024 · 0 comments
Open

[Feature] Allow the import of a subscription by its ID #895

culpinnis opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request needs:triage

Comments

@culpinnis
Copy link

What problem are you facing?

I want to observe subscriptions that were not created by Terraform or Crossplane. My objective is to read the subscription based on its ID and get the display name to push it to a 3rd party system outside of Azure. Terraform offers the subscription data source which just needs the subscription ID.
The current implementation of the observe management policy is the same as a Terraform import. An import requires the name of a subscription alias (and requires you to create such an alias for importing the resource) for the external-name label. See the import section of the subscription resource for more information. I understand that technically an import is necessary because the management policy can change be changed at any time, but the functionality of a data only resource is missing - especially if the implemented Terraform data sources are using different API endpoints / resource identifiers to retrieve the data.

What could help solve your problem?

Allowing an import of subscriptions without having an alias created for them as the Terraform data resource is doing it.

I know that this is maybe an upstream issue for Crossplane itself.

@culpinnis culpinnis added enhancement New feature or request needs:triage labels Dec 17, 2024
@culpinnis culpinnis changed the title Allow the import of a subscription by its ID [Feature] Allow the import of a subscription by its ID Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs:triage
Projects
None yet
Development

No branches or pull requests

1 participant