Closed marcosdiez closed 1 year ago
@marcosdiez It's not valid for the repository configuration to have no config
or path_config
attribute. I'll update the provider to enforce that rule. In the meantime, you need to include either/or both attributes (depending on the package type).
Hi @alexhung
I think the problem is something else. I think it's by repository type. I tried with multiple times and I got deterministic results. Check it out !
I could successfully import:
I could NOT import (stacktrace):
Please take a look and let me know
Marcos
@marcosdiez Exactly! For those package types, you will need to include config
or path_config
attributes in order for import to be successful. Similarly if you are to create new repo config for those package types.
if one types
terraform import xray_repository_config.xray-repo-config collection-container-prod-local
one gets
The terraform for it is trivial: