vantage-sh / terraform-provider-vantage

Terraform Modules for integrating AWS with Vantage
https://registry.terraform.io/modules/vantage-sh/vantage-integration/aws/latest
MIT License
7 stars 4 forks source link

[Feat] Import resource or add data source for a single Vantage folder #66

Closed nmasur closed 1 month ago

nmasur commented 3 months ago

Currently, the only Vantage data source to work with existing folders is vantage_folders. This seems to have the issue of not being able to select a specific folders; instead, you have to pull the data source and then loop through the list of folders to find the one you need by title.

On the other hand, we also can't bring an existing vantage_folder into Terraform as a resource because it does not support imports.

This puts us in a bind when working with a folder added manually. We either have to search through a list from a data source or hardcode the folder token.

brookemckim commented 3 months ago

Thanks for the report @nmasur. Let me check with the team on this and get back to you.

macb commented 1 month ago

@nmasur vantage_folder and other resources now support import as of v0.1.28.