You build Terraform templates in a human-readable format that create and configure Azure resources in a consistent, reproducible manner. Since this was just a demonstration and you’re probably not planning on keeping this VM around, be sure to do yourself a favor and remove everything you’ve done. In the following article we will see an example of how to implement a Virtual Machine Disaster Recovery with Azure Site Recovery VM Replication using Terraform. Aside from Terraform, one question I’ve received is what happens if the extension runs against a machine that is already domain joined?A: The VM extension will still install against the Azure Virtual Machine, but will immediately return back the following response: “Join completed for Domain ‘yourdomain.com'”, Specifically, the following is returned back to Azure: [{“version”:”1″,”timestampUTC”:”2019-03-27T16:30:57.9274393Z”,”status”:{“name”:”ADDomainExtension”,”operation”:”Join Domain/Workgroup”,”status”:”success”,”code”:0,”formattedMessage”:{“lang”:”en-US”,”message”:”Join completed for Domain ‘yourdomain.com'”},”substatus”:null}}]. I am trying this, but have error when run Terraform validate. Terraform is a popular industry tool now with great community support and plenty of people to help! protected_settings = <