when we plan a policy we don't use network or host objects for source/destination. Always groups (filled with groups or host/network) so I try to read groups as data to my terraform script but seems not possible. Only resource is allow but than there is a try to create.
Is there a way to read a existing group and use it? If not would be nice to have this.
`data "fmc_network_group_objects" "ziel_app" {
name = "G_AUTO_Group-1"
}
terraform plan
╷
│ Error: Invalid data source
│
│ on resources.tf line 9, in data "fmc_network_group_objects" "ziel_app":
│ 9: data "fmc_network_group_objects" "ziel_app" {
│
│ The provider ciscodevnet/fmc does not support data source "fmc_network_group_objects".
│
│ Did you intend to use the managed resource type "fmc_network_group_objects"? If so, declare this using a "resource" block instead of a "data" block.`
Is there anyway to get this assigned to someone? I’m having this same issue and because of the large amount of groups I have to create my code takes just over an hour to run.
Hi,
when we plan a policy we don't use network or host objects for source/destination. Always groups (filled with groups or host/network) so I try to read groups as data to my terraform script but seems not possible. Only resource is allow but than there is a try to create. Is there a way to read a existing group and use it? If not would be nice to have this.
`data "fmc_network_group_objects" "ziel_app" { name = "G_AUTO_Group-1" }
best regards, Lars