diff --git a/docs/content/en/docs-dev/user-guide/configuration-reference.md b/docs/content/en/docs-dev/user-guide/configuration-reference.md index 7b8999798b..32d011080f 100644 --- a/docs/content/en/docs-dev/user-guide/configuration-reference.md +++ b/docs/content/en/docs-dev/user-guide/configuration-reference.md @@ -9,7 +9,7 @@ description: > ## Kubernetes Application ``` yaml -apiVersion: pipecd.devI mean instead of adding it here, only make the vpc configuration available via Function manifest file. I think we should keep this configuration file contains generic configurations only./v1beta1 +apiVersion: pipecd.dev/v1beta1 kind: KubernetesApp spec: input: diff --git a/pkg/app/piped/platformprovider/lambda/function_test.go b/pkg/app/piped/platformprovider/lambda/function_test.go index 49d2d84686..ba60045839 100644 --- a/pkg/app/piped/platformprovider/lambda/function_test.go +++ b/pkg/app/piped/platformprovider/lambda/function_test.go @@ -110,10 +110,10 @@ func TestParseFunctionManifest(t *testing.T) { "memory": 128, "timeout": 5, "image": "ecr.region.amazonaws.com/lambda-simple-function:v0.0.1", - "vpcConfig": { - securityGroupIds: ["sg-1234567890", "sg-0987654321"], - subnetIds: ["subnet-1234567890", "subnet-0987654321"] - } + "vpcConfig": { + securityGroupIds: ["sg-1234567890", "sg-0987654321"], + sbnetIds: ["subnet-1234567890", "subnet-0987654321"] + } } }`, wantSpec: FunctionManifest{