netascode / terraform-provider-fmc

Mozilla Public License 2.0
2 stars 7 forks source link

Add `fmc_deploy` resource #87

Open danischm opened 1 month ago

danischm commented 1 month ago

API: /api​/fmc_config​/v1​/domain​/{domainUUID}​/deployment​/deploymentrequests

Probably similar approach as with this (https://github.com/CiscoDevNet/terraform-provider-iosxe/blob/4e008a455996c4df7a721186d33f270273d37e0e/internal/provider/resource_iosxe_save_config.go#L59) resource and an internal attribute that always changes to force updates.

jabielecki commented 1 month ago

Deploying all devices after every terraform refresh seems brutal.

danischm commented 1 month ago

I believe FMC will only deploy changes to the respective devices.