Blog Entry by Rob Sewell with link to conference talk
Cheat sheet for retrieving output values from ARM Resources by Justin Yoo
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AttachVolume", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:DeregisterImage", |
#!/bin/bash | |
### VARIABLES ### | |
PRE_PACK="openssl-devel pcre-devel make gcc" | |
VER="1.8.14" | |
# Setup Colours | |
black='\E[30;40m' | |
red='\E[31;40m' | |
green='\E[32;40m' |
Write-Output "Disabling WinRM over HTTP..." | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP" | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" | |
Get-ChildItem WSMan:\Localhost\listener | Remove-Item -Recurse | |
Write-Output "Configuring WinRM for HTTPS..." | |
Set-Item -Path WSMan:\LocalHost\MaxTimeoutms -Value '1800000' | |
Set-Item -Path WSMan:\LocalHost\Shell\MaxMemoryPerShellMB -Value '1024' | |
Set-Item -Path WSMan:\LocalHost\Service\AllowUnencrypted -Value 'false' | |
Set-Item -Path WSMan:\LocalHost\Service\Auth\Basic -Value 'true' |
{ | |
"variables": { | |
"build_location": "uksouth", | |
"build_vm_size": "Standard_DS2_v2", | |
"sp_client_id": "{{env `PACKER_CLIENT_ID`}}", | |
"sp_client_secret": "{{env `PACKER_CLIENT_SECRET`}}", | |
"sp_tenant_id": "{{env `PACKER_TENANT_ID`}}", | |
"sp_subscription_id": "{{env `PACKER_SUBSCRIPTION_ID`}}", | |
"output_resource_group" : "packer-vm-images", | |
"output_image_name_prefix" : "sql-2019-win-2019" |
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json", | |
"contentVersion": "0.0.0.1", | |
"parameters": { | |
"vnetName": { | |
"type": "string" | |
}, | |
"vnetAddressPrefix": { | |
"type": "string" | |
}, |
sed -i 's/!\[\(.*\)\] \?(https:\/\/.*\/\(.*\))/{{< figure src="\2" caption="\1" >}}/g' index.md |
LOCATION=uksouth | |
RESOURCE_GROUP_NAME=webapp-config-demo | |
SERVICE_PLAN_NAME=app-service-plan-free-wp | |
SERVICE_PLAN_SKU=FREE | |
WEB_APP_NAME=mywpsite-ahfdskf | |
MARIADB_SKU=B_Gen5_1 | |
MARIADB_SERVER_NAME=dbserver-ahfdskf | |
MARIADB_ADMIN_USER=BOSS_HOGG | |
MARIADB_ADMIN_PASSWORD=R05coePColtrane | |
WORDPRESS_DB_NAME=wpdb |
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | |
// https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/debian | |
{ | |
"name": "pyspark", | |
"image": "jupyter/pyspark-notebook", | |
// Set *default* container specific settings.json values on container create. | |
"settings": { | |
"terminal.integrated.shell.linux": "/bin/bash" | |
}, |