23.1.6. 1030 Detect Terraform Drift¶
Time: 10 Minutes
Tags: terraform, cloud, clusters, compliance
Concepts: clusters, resource brokers
Detect when cloud resources are changed outside of Digital Rebar
Business ROI: Improved operational control and consistency of infrastructure
Addtional Checklist Items:
Access to your cloud provider console
Verify that you can find the associated instances in your cloud provider console
Make sure that the cluster has completed provisioning and entered Work Order mode
Remove some (not all) of the provisioned resources using your cloud provider’s CLI or UX
Select and apply the
Review the Alerts to see the WARNING created by Digital Rebar detecting the drift
188.8.131.52.1.3. Create a drift detection trigger¶
Create a new trigger named lab1030
`cron-triggerTrigger Provider <https://portal.rackn.io/#/e/0.0.0.0/trigger_providers/cron-trigger>`__
The options will change when you select the provider
Configure the new trigger
clustersas the filter to regularly scan for drift.
cron-trigger/time-stringto your preferred frequency.
1will create a daily scan at 1 am.
1will create an hourly scan at :01 each hour.
Save the Trigger.
All Filter Machinesvalue to
This ensures that the trigger runs on all active clusters.