Skip to content

bdausses/azure_custom_data_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Custom Data Example

This repo contains terraform code that will spin up a Win2k16 VM in Azure, then execute a powershell script that is passed in via custom data at provisioning time.

DISCLAIMER: This code is for example use only. Do your due dilligence and inspect it if you plan to use any of it for anything other than experimentation.

Usage

  • Copy terraform.tfvars.example to terraform.tfvars.
    • cp terraform.tfvars.example terraform.tfvars
  • Edit terraform.tfvars and use whatever values you need.
    • vi terraform.tfvars
  • Initialize and apply the plan.
    • terraform init
    • terraform apply

Credit

Some ideas, code, and inspiration taken from: https://github.com/terraform-providers/terraform-provider-azurerm

License

This is licensed under the Apache 2.0 license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published