aws adapter

Support for AWS resources, mostly focused on EC2 and VPC

Usage example

This simple example shows how to create a subnet.

import aws

provider = aws::Provider(
    name="test", 
    access_key=std::get_env("AWS_ACCESS_KEY_ID"),
    region=std::get_env("AWS_REGION"),
    secret_key=std::get_env("AWS_SECRET_ACCESS_KEY"),
    availability_zone="a"
)

vpc = aws::VPC(
    name="inmanta-test",
    provider=provider,
    cidr_block="10.0.0.0/23",
    instance_tenancy="default"
)
subnet = aws::Subnet(
    name="inmanta-test",
    provider=provider,
    cidr_block="10.0.0.0/24",
    vpc=vpc,
    map_public_ip_on_launch=true
)