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 Import Feature #63

Open
jacobtaunton opened this issue Sep 6, 2022 · 6 comments
Open

Add Import Feature #63

jacobtaunton opened this issue Sep 6, 2022 · 6 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@jacobtaunton
Copy link

Please add import resources. We have resources already deployed that we want to bring under state management. We can only do that with terraform import.

@soufi soufi added the question Further information is requested label Sep 13, 2022
@soufi
Copy link
Contributor

soufi commented Sep 13, 2022

Hi @jacobtaunton

Thank you for using this tool :)

I thought the import was out of the box, but it seems that we need to add some stuff into the source code. I just looked into the import capabilities. We need to add import capabilities on all of our current resources.

I will add this to our TODO.

Knowing this is an open source project, and that there's only few active people on this project currently, If you need this done quickly, contributions are welcome !

Thank you for your understanding.

@soufi soufi added the enhancement New feature or request label Sep 13, 2022
@nramdial
Copy link

Hey @soufi - is anyone picking this up? Wondering if I can contribute to this, as my organization has a use case for importing pre-existing infrastructure from Anypoint as well - I see there is a branch open here.

@soufi
Copy link
Contributor

soufi commented Jul 25, 2023

Hi @nramdial, nobody is from Mulesoft is actively working on this.
I'm the only maintainer at this moment and you can contribute on the fork available here. I have no control over this repo since I'm no longer part of the Mulesoft organization.
Contributions are very much welcome !

@soufi
Copy link
Contributor

soufi commented Sep 8, 2023

Hi @nramdial and @jacobtaunton,

The impact of including the import functionality on the existing resources is pretty significant. In fact if the resource identifier is composed of multiple sub ids, for example: an environment is within an org, so you need to compose the identifier with both the env id and org id.
If we add it, then all current users will have their infrastructure destroyed and rebuilt from scratch since the agent won't recognize the current resources.

I'm thinking about adding this to a new major version, but i'm not sure when.

In the meantime, can you please tell me what are the your most urgent resources for this ?

For info, all the new resources are delivered with the import feature.

Can you also open this issue on the active fork here.

You can also join the Discord Server for a more thorough exchange on the subject ?

yours,

@nramdial
Copy link

Hey @soufi - that makes sense to me. I can go ahead and open a new issue on the active fork.

As for discussion, I'll join the Discord server for a chat on this.

@soufi
Copy link
Contributor

soufi commented Feb 7, 2024

@jacobtaunton Import was added to all resources in the latest version of the provider.

@rubycube can you please close this one ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants