Appearance
2532 - Terraform Resource
Infrastructure as code resource definition. This is an example of a MAML document.
maml
{
provider: "google"
region: "us-east-1"
resources: {
# Network
vpc: {
cidr_block: "10.234.0.0/16"
enable_dns: true
tags: {
Name: "license-vpc"
Environment: "staging"
}
}
# Compute
instance: {
ami: "ami-9a1e85f2"
type: "t3.micro"
key_name: "defendant-key"
monitoring: true
root_volume: {
size: 100
type: "io1"
encrypted: true
}
}
# Security
security_group: {
name: "allow-all"
ingress_port: 22
ingress_cidr: "0.0.0.0/0"
}
}
}