diff --git a/README.md b/README.md index f34f80b..6964b3d 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ JSON object: * `type` - `string` - required, provider type: `awslambda` * `arn` - `string` - required, AWS ARN identifier * `region` - `string` - required, region name - * `awsAccessKeyID` - `string` - optional, AWS API key ID. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used. + * `awsAccessKeyId` - `string` - optional, AWS API key ID. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used. * `awsSecretAccessKey` - `string` - optional, AWS API access key. By default credentials from the [environment](http://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials) are used. * `awsSessionToken` - `string` - optional, AWS session token * for HTTP function: @@ -444,7 +444,7 @@ JSON object: * `type` - `string` - required, provider type: `awslambda` * `arn` - `string` - required, AWS ARN identifier * `region` - `string` - required, region name - * `awsAccessKeyID` - `string` - optional, AWS API key ID + * `awsAccessKeyId` - `string` - optional, AWS API key ID * `awsSecretAccessKey` - `string` - optional, AWS API key * `awsSessionToken` - `string` - optional, AWS session token * for HTTP function: diff --git a/functions/function.go b/functions/function.go index 7617a5a..72a1658 100644 --- a/functions/function.go +++ b/functions/function.go @@ -57,7 +57,7 @@ type Provider struct { // AWS Lambda function ARN string `json:"arn,omitempty"` Region string `json:"region,omitempty"` - AWSAccessKeyID string `json:"awsAccessKeyID,omitempty"` + AWSAccessKeyID string `json:"awsAccessKeyId,omitempty"` AWSSecretAccessKey string `json:"awsSecretAccessKey,omitempty"` AWSSessionToken string `json:"awsSessionToken,omitempty"`