Skip to content

Instantly share code, notes, and snippets.

@divgo
Last active January 21, 2018 19:02
Show Gist options
  • Save divgo/45896eaf99bf00362a33bcf0f6140085 to your computer and use it in GitHub Desktop.
Save divgo/45896eaf99bf00362a33bcf0f6140085 to your computer and use it in GitHub Desktop.
resource "azurerm_virtual_machine_extension" "dsc" {
name = "DevOpsDSC"
location = "${var.location}"
resource_group_name = "${var.resource_group_name}"
virtual_machine_name = "${var.vm_name}"
publisher = "Microsoft.Powershell"
type = "DSC"
type_handler_version = "2.73"
settings = <<SETTINGS
{
"ModulesUrl":"",
"SasToken":"",
"WmfVersion": "latest",
"Privacy": {
"DataCollection": ""
},
"ConfigurationFunction":""
}
SETTINGS
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment