Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 1.79 KB
This service lets you deploy apps in AWS OpsWorks after pushing to the configured branch. It will also pick up on deployment events and update the app to deploy to the requested sha.
You need to provide an AWS access key id and the corresponding secret access key having at least the permission for the `opsworks:CreateDeployment` action. That's the minimal required policy file:
```
{
"Statement": [
{
"Effect": "Allow",
"Action": "opsworks:CreateDeployment",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "opsworks:UpdateApp",
"Resource": "*"
}
]
}
```
Install Notes
-------------
1. **Stack Id** (required) - "OpsWorks ID" on the **stack setting page** in the AWS OpsWorks Console or see `StackId` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_Stack.html
2. **App Id** (required) - "OpsWorks ID" on the **app setting page** in the AWS OpsWorks Console or see `AppId` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_App.html
3. **Branch Name** (required) - "Branch/Revision" configured for that app in the AWS OpsWorks Console or see `Revision` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_Source.html
4. **Aws Access Key Id** (required) - Access key id of an AWS IAM user having the permission for the `opsworks:CreateDeployment` action.
5. **Aws Secret Access Key** (required) - Corresponding secret access key of the AWS IAM user.
6. **Endpoint Region** (Optional) - The API endpoint region for your stack. Defaults to us-east-1 (classic)
6. **GitHub Token** (Optional) - A GitHub personal access token with `repo` scope to for OAuth cloning and deployment statuses for the GitHub API.
7. **GitHub API Url** (Optional) - The URL for the GitHub API. Override this for enterprise. e.g. `https://enterprise.myorg.com`.