Amazon Elastic Kubernetes Service
- POST
- /workspaces
- /:workspace
- /targets
Create a new Amazon Elastic Kubernetes Service deployment target
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/targets" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"type": "EKS",
"identifier": "eks-staging",
"name": "EKS Staging Cluster",
"integration": "aws-integration",
"cluster": "staging-cluster",
"region": "us-west-2",
"role_arn": "arn:aws:iam::123456789012:role/eks-service-role",
"tags": [
"kubernetes",
"aws",
"staging"
]
}'STATUS201 Created