![]() Usually, IntelliJ will detect it automatically. We have to point the AWS Toolkit plugin to the SAM CLI executables. Open an AWS Explorer tab select from the dropdown box the name of credentials and a Region. If your tab doesn't appear, go to View -> Tool windows and click on AWS Explorer. Now we have to define credentials in an AWS Toolkit plugin Explorer tab. In IntelliJ go to File -> Settings -> Plugins, make sure you are in the Marketplace tab, type AWS Toolkit, then press Install, after installation is complete restart IDE. Now you have a SAM installed on your PC! 2. ![]() Download the SAM installer here then run it.Īfter installation check, if it is installed by running the command $sam -version.Docker Compose is only necessary for this use case because I need an S3 bucket.ĭownload the latest SAM version from GitHub by clicking here.Įxtract using command: $unzip aws-sam-cli-linux-x86_64.zip -d sam-installation IntelliJ IDEA, Apache Maven, Docker, Docker Compose installed on your PC.Step by step configuration you can find here. Your PC has config and credentials files configured.How to create credentials you can find here. If you don't have you can create it here. This value has to be used in the xdebug.remote_host propery when launching the script.Testing Python AWS applications using LocalStack Than grab the gateway IP $ docker network inspect my_network | grep Gateway Grab the network name of the running container $ docker inspect my_container | grep NetworkMode To debug a PHP cli script running inside a specific Docker container, you need to find out the the Gateway IP of the docker network your container is attached to.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |