Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "awsass", | ||
"description": "AWSASS is an assistant to AWS, mostly for running better scripts.", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"author": "Jsonize", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/jsonize/awsass", |
@@ -14,2 +14,35 @@ # awsass | ||
## Ephemeral execution on AWS | ||
```bash | ||
awsass --ecr-ecs-ephemeral-create --profile XXX --region XXX \ | ||
--execution-role-arn XXX --task-role-arn XXX | ||
``` | ||
```bash | ||
{ | ||
ephemeralId: 'XXX', | ||
repositoryUri: 'YYY', | ||
taskDefinitionArn: 'ZZZ' | ||
} | ||
``` | ||
```bash | ||
awsass --ecr-ecs-push-new-revision --profile XXX --region XXX \ | ||
--container-name YYY --task-definition ZZZ \ | ||
--local-image-name XXX --image-name ZZZ:latest | ||
``` | ||
```bash | ||
awsass --ecs-run-on-fargate --profile XXX --region XXX \ | ||
--task-definition ZZZ --cluster-name AAA | ||
``` | ||
```bash | ||
awsass --ecr-ecs-ephemeral-destory --profile XXX --region XXX \ | ||
--ephemeral-id XXX | ||
``` | ||
## License | ||
@@ -16,0 +49,0 @@ |
@@ -543,3 +543,12 @@ const AWS = require("aws-sdk"); | ||
} | ||
callback(undefined, result); | ||
apigateway.createDeployment({ | ||
restApiId: restApiId, | ||
stageName: stageName | ||
}, function (err, result) { | ||
if (err !== null) { | ||
callback(err); | ||
return; | ||
} | ||
callback(undefined, result); | ||
}); | ||
}); | ||
@@ -546,0 +555,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34024
661
51