https://github.com/glav/infratestautofailover
Simple repo mostly of automated infrastructure so I can test some auto fail over scenarios
https://github.com/glav/infratestautofailover
Last synced: 5 months ago
JSON representation
Simple repo mostly of automated infrastructure so I can test some auto fail over scenarios
- Host: GitHub
- URL: https://github.com/glav/infratestautofailover
- Owner: glav
- License: mit
- Created: 2021-11-16T22:06:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T03:52:20.000Z (over 4 years ago)
- Last Synced: 2025-02-06T15:46:02.748Z (over 1 year ago)
- Language: Bicep
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# InfraTestAutoFailOver
Simple repo mostly of automated infrastructure so I can test some auto fail over scenarios
### To Deploy
$rg="resourcegroupname"
$loc="AustrraliaEast"
$user="someuser"
$password="somesecurepassword"
az group create -l $loc -n $rg
$expiresOn=((Get-Date).AddDays(1).ToString('yyyy-MM-dd'))
az deployment group create -g $rg --template-file .\main.bicep --parameters vmAdminUsername=$user vmAdminPassword=$pwd sqlAdminUsername=$user sqlAdminPassword=$password expiresOn=$expiresOn