Skip to content

Commit 911e715

Browse files
schema fixed. version bumped. (#48)
1 parent 0a10478 commit 911e715

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ There are two things necessary to make a custom plugin work in Kong:
103103
The easiest way to install the plugin is using `luarocks`.
104104

105105
```sh
106-
luarocks install https://github.com/LEGO/kong-aws-request-signing/raw/main/rocks/kong-aws-request-signing-1.0.8-3.all.rock
106+
luarocks install https://github.com/LEGO/kong-aws-request-signing/raw/main/rocks/kong-aws-request-signing-1.0.9-3.all.rock
107107
```
108108

109-
You can substitute `1.0.8-3` in the command above with any other version you want to install.
109+
You can substitute `1.0.9-3` in the command above with any other version you want to install.
110110

111111
If running Kong using the Helm chart, you will need to create a config map with the plugin files and mount it to `/opt/kong/plugins/aws-request-signing`. You can read more about this on [Kong's website.](https://docs.konghq.com/kubernetes-ingress-controller/latest/guides/setting-up-custom-plugins/)
112112

kong-aws-request-signing-1.0.8-3.rockspec renamed to kong-aws-request-signing-1.0.9-3.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local plugin_name = "aws-request-signing"
22
local package_name = "kong-" .. plugin_name
3-
local package_version = "1.0.8"
3+
local package_version = "1.0.9"
44
local rockspec_revision = "3"
55

66
local github_account_name = "LEGO"

kong/plugins/aws-request-signing/handler.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,6 @@ function AWSLambdaSTS:access(conf)
222222
end
223223

224224
AWSLambdaSTS.PRIORITY = 15
225-
AWSLambdaSTS.VERSION = "1.0.8"
225+
AWSLambdaSTS.VERSION = "1.0.9"
226226

227227
return AWSLambdaSTS

kong/plugins/aws-request-signing/schema.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ return {
2424
},
2525
{
2626
aws_account_id = {
27-
type = "number",
27+
-- string as it might start with 00
28+
type = "string",
29+
description = "AWS account ID",
2830
required = false,
31+
match = "^%d+$"
2932
}
3033
},
3134
{

0 commit comments

Comments
 (0)