aws_ec2_metadata![](https://img.shields.io/static/v1?label=&message=Module&color=CE3D3D&style=for-the-badge)
- Components
- Code examples
Code examples
Read-only instance metadata
Install the AWS EC2 module
SELECT * FROM iasql_install('aws_ec2_metadata');
View the metadata for the previously created i-1
instance. View the table schema here
SELECT *
FROM instance_metadata
WHERE instance_id = (
SELECT instance_id
FROM instance
WHERE tags ->> 'name' = 'i-1'
);