marshallford / terraform-provider-ansible

Run Ansible playbooks using Terraform.
https://registry.terraform.io/providers/marshallford/ansible
MIT License
3 stars 0 forks source link

Skip run in certain cases [ansible_navigator_run] #13

Closed marshallford closed 5 months ago

marshallford commented 6 months ago
  1. Skip update run if only run_on_destroy has been changed
  2. Skip update if only ssh_private_keys has changed

Perhaps invert the logic and only run playbook when certain attributes have changed?

https://developer.hashicorp.com/terraform/plugin/framework/resources/update#detect-specific-attribute-changes

marshallford commented 5 months ago

Implemented partially by #27.