Skip to content

Instantly share code, notes, and snippets.

@stathissideris
Last active December 4, 2019 14:13
Show Gist options
  • Save stathissideris/75dcef72ec80b4d0ca0810e82142573a to your computer and use it in GitHub Desktop.
Save stathissideris/75dcef72ec80b4d0ca0810e82142573a to your computer and use it in GitHub Desktop.
{:resources
[{:duna/type :provider/aws
:region "eu-west-1"}
{:duna/type :data/aws_ami
:duna/id :ubuntu
:most_recent true
:filter [{:name "name"
:values ["ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*"]}
{:name "virtualization-type"
:values ["hvm"]}]
:owners ["099720109477"]}
{:duna/type :resource/aws_instance
:duna/id "web"
:ami (d/ref :data/aws_ami :ubuntu :id)
:instance_type "t2.micro"
:tags {:Name "HelloWorld"}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment