CiscoDevNet / terraform-provider-fmc

Terraform Provider for FMC
https://registry.terraform.io/providers/CiscoDevNet/fmc/latest/docs
Mozilla Public License 2.0
16 stars 31 forks source link

Port Groups Needed as Data Sources #113

Closed jellyBeanz2019 closed 1 year ago

jellyBeanz2019 commented 1 year ago

This request is similar to issue #18 . Would it be possible to add a port group data source that can be created once on the FMC and pulled into x workspaces? Currently, we have to create multiple Terraform port groups resources (fmc_port_group_objects) made up of FMC maintained port objects across every workspace. The end result is multiple, redundant terraform maintained port group objects. Instead, it would be great if we could reference a single, FMC maintained port group object data source and use it across all the workspaces.

kgreeshm commented 1 year ago

Hi @jellyBeanz2019

Thanks for bringing up this to our notice. We are working on it. Will add it :)

Thanks Greeshma

kgreeshm commented 1 year ago

Added the data block support for port object group https://github.com/CiscoDevNet/terraform-provider-fmc/pull/114

Thanks Greeshma

jeroenwittock commented 1 year ago

This has been merged into develop branch through https://github.com/CiscoDevNet/terraform-provider-fmc/pull/114, we will push this into main shortly.

Thanks, J