CiscoDevNet / terraform-provider-fmc

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

FMC NAT Device Assignment #3

Closed jasonlmaynard closed 3 years ago

jasonlmaynard commented 3 years ago

Perhaps missed it but looking to include both policy assignment for access control and NAT policies. Then deploy policies.

adyanth commented 3 years ago

Hey @jasonlmaynard The same resource fmc_policy_devices_assignments can assign both ACP and NAT Policy to the device. Please pass the NAT Policy ID and type to the resource and it should work. Reference: https://registry.terraform.io/providers/CiscoDevNet/fmc/latest/docs/resources/fmc_policy_devices_assignments#required

adyanth commented 3 years ago

As discussed, each policy is a separate resource.

jasonlmaynard commented 3 years ago

That worked!