Skip to content

Instantly share code, notes, and snippets.

View mbenachour's full-sized avatar

Mohamed Ben Achour mbenachour

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=10" />
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: order-pub-sub
namespace: dapr-system
spec:
type: pubsub.azure.servicebus
version: v1
metadata:
- name: connectionString # Required when not using Azure Authentication.
write-output "Running User Data Script"
write-host "(host) Running User Data Script"
Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force -ErrorAction Ignore
# Don't set this before Set-ExecutionPolicy as it throws an error
$ErrorActionPreference = "stop"
# Remove HTTP listener
@mbenachour
mbenachour / kitchen.yml
Created June 22, 2017 21:12
kitchen ec2 private ami actual_platform is nil
driver:
name: ec2
aws_ssh_key_id: jenkins-us-east
security_group_ids: ["sg-111111"]
region: us-east-1
availability_zone: a
require_chef_omnibus: true
subnet_id: subnet-111111
#iam_profile_name: chef-client
instance_type: t2.large