Skip to content

Instantly share code, notes, and snippets.

View phildier's full-sized avatar

Phil Dier phildier

View GitHub Profile
<?php
include("aws.phar");
use Aws\OpsWorks\OpsWorksClient;
$client = OpsworksClient::factory(array(
'key' => $_SERVER['AWS_API_KEY'],
'secret' => $_SERVER['AWS_API_SECRET'],
'region' => 'us-east-1'