Appearance
1740 - Terraform Resource
Infrastructure as code resource definition. This is an example of a MAML document.
maml
{
provider: "aws"
region: "eu-west-1"
resources: {
# Network
vpc: {
cidr_block: "10.204.0.0/16"
enable_dns: true
tags: {
Name: "majority-vpc"
Environment: "production"
}
}
# Compute
instance: {
ami: "ami-fcff889f"
type: "m5.large"
key_name: "carnival-key"
monitoring: true
root_volume: {
size: 100
type: "gp3"
encrypted: true
}
}
# Security
security_group: {
name: "allow-all"
ingress_port: 80
ingress_cidr: "0.0.0.0/0"
}
}
}