https://github.com/murilobeltrame/hello-azure-automation
Azure Automation example
https://github.com/murilobeltrame/hello-azure-automation
automation azure powershell terraform
Last synced: 3 months ago
JSON representation
Azure Automation example
- Host: GitHub
- URL: https://github.com/murilobeltrame/hello-azure-automation
- Owner: murilobeltrame
- License: mit
- Created: 2021-10-20T00:07:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-21T01:38:45.000Z (over 4 years ago)
- Last Synced: 2025-01-12T00:42:55.500Z (over 1 year ago)
- Topics: automation, azure, powershell, terraform
- Language: PowerShell
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Hello Azure Automation
An example on how use Azure Automation Runbook to execute operations against Azure SQL Databases.
The Terraform file creates an instance of Azure SQL Server, Database and Database Objects as well an Azure Automation Account with a RunBook that is triggered hourly to execute a Stored Procedure via PowerShell.

## Dependencies
- [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli)
- [Terraform](https://www.terraform.io/downloads.html)
- [sqlcmd](https://docs.microsoft.com/sql/tools/sqlcmd-utility)
## Running the project
```sh
$ cd env/
$ az login
$ terraform init
$ terraform apply -var resource_group_name="myrg"
```