Prerequisites
Install the semdiff API client:
Analyzing a PR
- run terraform plan -out tf.plan in your terraform directory
- convert the terraform plan to JSON format: terraform show -json tf.plan > tf.plan.json
- submit the JSON file for analysis: semdiff -a <your AWS account ID> -r <region> tf.plan.json, e.g. semdiff -a 123456789012 -r eu-west-2 tf.plan.json
Next steps
Do you use atlantis? Check out how to integrate semdiff with it: https://semdiff.io/blog/atlantis-integration/