10 Aug 2024 - rich
WTF Kali? Why all the hassle getting you running on AWS? Why can I not simply launch an ec2 instance with an official Kali AMI and be done with it? Rather, I need to find it in the AWS Marketplace, then subscribe to it even though there is no associated cost. And all this just to get the AMI for the region in which I want to run.
module.ec2_pentest.aws_instance.this[0]: Creating...
╷
│ Error: creating EC2 Instance: operation error EC2: RunInstances, https response error StatusCode: 401, RequestID: 407d053d-e793-41d8-8a28-e905bb2d5873, api error OptInRequired: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=7lgvy7mt78lgoi4lant0znp5h
│
│ with module.ec2_pentest.aws_instance.this[0],
│ on .terraform/modules/ec2_pentest/main.tf line 21, in resource "aws_instance" "this":
│ 21: resource "aws_instance" "this" {
│
╵