aws-toolkit-jetbrains
aws-toolkit-jetbrains copied to clipboard
Feature/ecs exec
AWS Toolkit plugin disable error
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Description
Motivation and Context
Related Issue(s)
Testing
Screenshots (if appropriate)
Checklist
- [x] I have read the README document
- [x] I have read the CONTRIBUTING document
- [ ] Local run of
gradlew check
succeeds - [ ] My code follows the code style of this project
- [ ] I have added tests to cover my changes
- [ ] All new and existing tests passed
- [ ] A short description of the change has been added to the CHANGELOG if change is customer facing in the IDE.
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.
Serverless deployment failign with aws-cli and SAM module
docker ps /usr/local/bin/sam build --template /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/template.yaml --build-dir /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build --use-container Starting Build inside a container Your template contains a resource with logical ID "ServerlessRestApi", which is a reserved logical ID in AWS SAM. It could result in unexpected behaviors and is not recommended. Building codeuri: /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/hello_world runtime: python3.6 metadata: {} architecture: x86_64 functions: ['HelloWorldFunction']
Fetching public.ecr.aws/sam/build-python3.6:latest-x86_64 Docker container image...... Mounting /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/hello_world as /tmp/samcli/source:ro,delegated inside runtime container
Build Succeeded
Built Artifacts : .aws-sam/build Built Template : .aws-sam/build/template.yaml
Commands you can use next
[] Invoke Function: sam local invoke [] Test Function in the Cloud: sam sync --stack-name {stack-name} --watch [*] Deploy: sam deploy --guided
Running PythonPipBuilder:ResolveDependencies Running PythonPipBuilder:CopySource /usr/local/bin/sam package --template-file /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build/template.yaml --output-template-file /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build/packaged-template.yaml --s3-bucket sagemaker-us-east-1-888093449492 File with same data already exists at 287342c7c3751b36647bd1fcb1d80204, skipping upload
Successfully packaged artifacts and wrote output template to file /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build/packaged-template.yaml. Execute the following command to deploy the packaged template sam deploy --template-file /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build/packaged-template.yaml --stack-name <YOUR STACK NAME>
/usr/local/bin/sam deploy --template-file /Users/akram/AKRAM_CODE_FOLDER/ML/Washington_ML/serverless-machine-learning/.aws-sam/build/packaged-template.yaml --stack-name akramtest --s3-bucket sagemaker-us-east-1-888093449492 --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM --no-execute-changeset
Deploying with following values
===============================
Stack name : akramtest
Region : us-east-1
Confirm changeset : False
Disable rollback : False
Deployment s3 bucket : sagemaker-us-east-1-888093449492
Capabilities : ["CAPABILITY_IAM", "CAPABILITY_NAMED_IAM"]
Parameter overrides : {}
Signing Profiles : {}
Initiating deployment
File with same data already exists at 16fbe5a10cac292535ae7409c34f3916.template, skipping upload
Waiting for changeset to be created.. Error: No changes to deploy. Stack akramtest is up to date Create Change Set has failed: Command did not exit successfully, exit code: 1 akramtest has failed: Command did not exit successfully, exit code: 1